CVE-2012-6081 MoinMoin Multiple unrestricted file upload vulnerabilities

Medium 6.0 Published Updated

Authenticated users with write permissions can upload executable files to the MoinMoin wiki, leading to arbitrary code execution on the server.

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-6081?

CVE-2012-6081 is a medium-severity 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

Multiple unrestricted file upload 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 execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in an unspecified directory, as exploited in the wild in July 2012.

Which versions are affected by CVE-2012-6081?

3 open source packages ship an affected version, including moin. It affects 1 product.

PackageAffectedFixed in
moin PyPIAll versions1.9.6
moin PyPIAll versions1.9.6
moin PyPIAll versions1.9.6

Products include Moinmo Moinmoin.

How do I fix CVE-2012-6081?

Upgrade moin to 1.9.6 or later.

Is CVE-2012-6081 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-6081 exists.

Public exploit code: 1 Metasploit module and 2 Exploit-DB entries.

Sources

Also known as GHSA-m2c4-jgmm-fvq3, PYSEC-2013-6.

Is CVE-2012-6081 in your software?

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

Check your SBOMs for free