CVE-2012-6080 MoinMoin Directory Traversal vulnerability
Remote attackers can overwrite arbitrary files via directory traversal in the attachment move function, requiring low privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-6080?
CVE-2012-6080 is a medium-severity path traversal vulnerability in n/a, published on 3 Jan 2013. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Directory traversal vulnerability in the _do_attachment_move function in the AttachFile action (action/AttachFile.py) in MoinMoin 1.9.3 through 1.9.5 allows remote attackers to overwrite arbitrary files via a .. (dot dot) in a file name.
Weakness: CWE-22
Which versions are affected by CVE-2012-6080?
3 open source packages ship an affected version, including moin. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
moin PyPI | From 1.9.3 | 1.9.6 |
moin PyPI | From 1.9.3 | 1.9.6 |
moin PyPI | From 1.9.3 | 1.9.6 |
Products include Moinmo Moinmoin.
How do I fix CVE-2012-6080?
Upgrade moin to 1.9.6 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2012-6080 being exploited?
There is no known exploitation of CVE-2012-6080 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2020-15275 malicious SVG attachment causing stored XSS vulnerability in MoinMoin
- CVE-2009-4762 MoinMoin Improper Access Control vulnerability
- CVE-2010-0669 MoinMoin improper sanitizes user profiles
- CVE-2010-0717 MoinMoin has improper default configuration
- CVE-2010-0668 MoinMoin has multiple vulnerabilities related to superuser list, xmlrpc and OpenID configuration
Sources
Also known as GHSA-v33q-2xcj-4f3m, PYSEC-2013-5.