{"id":"GHSA-52q8-877j-gghq","summary":"MoinMoin vulnerable to remote code execution via cache action","details":"### Impact\nThe 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.\n\n### Patches\nUsers are strongly advised to upgrade to a patched version.\n\nMoinMoin Wiki 1.9.11 has the necessary fixes and also contains other important fixes.\n\n### Workarounds\nIt is not advised to work around this, but to upgrade MoinMoin to a patched version.\n\nThat said, a work around via disabling the `cache` or the `AttachFile` action might be possible.\n\nAlso, it is of course helpful if you give `write` permissions (which include uploading attachments) only to trusted users.\n\n### Credits\n\nThis vulnerability was discovered by Michael Chapman.\n\n### For more information\nIf you have any questions or comments about this advisory, email me at [twaldmann@thinkmo.de](mailto:twaldmann@thinkmo.de).","aliases":["CVE-2020-25074","PYSEC-2020-67"],"modified":"2026-05-07T05:02:08.335001361Z","published":"2020-11-11T15:54:51Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-22"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-11-11T15:51:56Z"},"references":[{"type":"WEB","url":"https://github.com/moinwiki/moin-1.9/security/advisories/GHSA-52q8-877j-gghq"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25074"},{"type":"WEB","url":"https://github.com/moinwiki/moin-1.9/commit/6b96a9060069302996b5af47fd4a388fc80172b7"},{"type":"PACKAGE","url":"https://github.com/moinwiki/moin"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/moin/PYSEC-2020-67.yaml"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00020.html"},{"type":"WEB","url":"https://pypi.org/project/moin"},{"type":"WEB","url":"https://www.debian.org/security/2020/dsa-4787"},{"type":"WEB","url":"http://moinmo.in/SecurityFixes"}],"affected":[{"package":{"name":"moin","ecosystem":"PyPI","purl":"pkg:pypi/moin"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.9.11"}]}],"versions":["1.8.4","1.8.5","1.8.6","1.8.7","1.9.0","1.9.1","1.9.10","1.9.2","1.9.3","1.9.4","1.9.5","1.9.6","1.9.7","1.9.8","1.9.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/11/GHSA-52q8-877j-gghq/GHSA-52q8-877j-gghq.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}