CVE-2012-6080 MoinMoin Directory Traversal vulnerability

Medium 6.4 Published Updated

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.

PackageAffectedFixed in
moin PyPIFrom 1.9.31.9.6
moin PyPIFrom 1.9.31.9.6
moin PyPIFrom 1.9.31.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.

Sources

Also known as GHSA-v33q-2xcj-4f3m, PYSEC-2013-5.

Is CVE-2012-6080 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free