patchminder
Proof of concept · Exploit-DB CVE-2012-6495

Remote code executionin the moin package.

Published 3 Jan 2013 · Updated 16 Sep 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (Exploit-DB).

Attack code is public
Severity
Medium 4.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. 18.6% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 1.9.6 or later
In plain words

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.

What to do now
  • Upgrade Moin (PyPI) to 1.9.6 or later.
  • 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
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. 2 Jan 2013
    CVE ID reserved by mitre.
  2. 3 Jan 2013
    Published in the CVE List.
  3. 16 Sep 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (Exploit-DB).

Metasploit module
None known
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

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-6495: Remote code execution in the moin package. https://patchminder.com/cve/cve-2012-6495/ (accessed 5 December 2026).