GHSA-52q8-877j-gghq

Suggest an improvement
Source
https://github.com/advisories/GHSA-52q8-877j-gghq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/11/GHSA-52q8-877j-gghq/GHSA-52q8-877j-gghq.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-52q8-877j-gghq
Aliases
Related
Published
2020-11-11T15:54:51Z
Modified
2024-10-07T15:02:58.860Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
MoinMoin vulnerable to remote code execution via cache action
Details

Impact

The cache action in action/cache.py allows directory traversal through a crafted HTTP request. An attacker who can upload attachments to the wiki can use this to achieve remote code execution.

Patches

Users are strongly advised to upgrade to a patched version.

MoinMoin Wiki 1.9.11 has the necessary fixes and also contains other important fixes.

Workarounds

It is not advised to work around this, but to upgrade MoinMoin to a patched version.

That said, a work around via disabling the cache or the AttachFile action might be possible.

Also, it is of course helpful if you give write permissions (which include uploading attachments) only to trusted users.

Credits

This vulnerability was discovered by Michael Chapman.

For more information

If you have any questions or comments about this advisory, email me at twaldmann@thinkmo.de.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2020-11-11T15:51:56Z"
}
References

Affected packages

PyPI / moin

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.9.11

Affected versions

1.*

1.8.4
1.8.5
1.8.6
1.8.7
1.9.0
1.9.1
1.9.2
1.9.3
1.9.4
1.9.5
1.9.6
1.9.7
1.9.8
1.9.9
1.9.10