CVE-2012-6495 — moin
MEDIUMCVE-2012-6495 is a medium-severity (CVSS 4.3) Path Traversal vulnerability in moin. 3 public exploit or proof-of-concept references are indexed, so weaponization risk is real. A fix is available for moin — see the affected versions and patch details below.
MoinMoin Multiple vulnerable to directory traversal
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
moinReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.
Description
Multiple directory traversal vulnerabilities in the (1) twikidraw (action/twikidraw.py) and (2) anywikidraw (action/anywikidraw.py) actions in MoinMoin before 1.9.6 allow remote authenticated users with write permissions to overwrite arbitrary files via unspecified vectors. NOTE: this can be leveraged with CVE-2012-6081 to execute arbitrary code.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐍PyPI | moin | all versions | 1.9.6pip install --upgrade 'moin==1.9.6' |
Affected Products
moinmoinmoinmoResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
MoinMoin - Arbitrary Command Execution
by HTP · May 8, 2013
MoinMoin - twikidraw Action Traversal Arbitrary File Upload (Metasploit)
by Metasploit · Jun 24, 2013
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for moin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update moin to 1.9.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2012-6495 is resolved across your whole dependency graph.
Workarounds
Resolve every user-supplied path to its canonical form and reject anything that escapes the intended directory, and run the component under an account that has no read or write access outside the directory it legitimately serves.
Frequently Asked Questions
Is CVE-2012-6495 in your dependencies?
Find it across PyPI, including transitive dependencies.