patchminder
Weaponized · Metasploit CVE-2012-6081

Remote code executionin the moin package.

Published 3 Jan 2013 · Updated 6 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Weaponized: a Metasploit exploit is public.

Attack code is public
Severity
Medium 6.3
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 35.1% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.9.6 or later
In plain words

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.

What to do now
  • Upgrade moin (PyPI) to 1.9.6 or later.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record
moin (PyPI)
before 1.9.6
1.9.6
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 6 Dec 2012
    CVE ID reserved by redhat.
  2. 30 Dec 2012
    Metasploit module: MoinMoin twikidraw Action Traversal File Upload.
  3. 3 Jan 2013
    Published in the CVE List.
  4. 6 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Weaponized (Metasploit).

Metasploit module
1 module
Nuclei scan template
None known
Exploit-DB
2 entries
GitHub proof of concepts
None known
Exploit-DBEDB-ID 26422remote exploit for linux, published 24 Jun 2013, verified by Exploit-DB
Exploit-DBEDB-ID 25304web application exploit for php, published 8 May 2013, verified by Exploit-DB
Referencewww.exploit-db.comnamed as exploit in the CVE record

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other vulnerabilities in this package

References
Cite this page

Patchminder. CVE-2012-6081: Remote code execution in the moin package. https://patchminder.com/cve/cve-2012-6081/ (accessed 5 December 2026).