Patchfirst
CVE-2012-6081 Public exploit EPSS 35.1%

Multiple unrestricted file upload vulnerabilities in the (1) twikidraw (action/twikidraw.py) and (2) anywikidraw…

Fix:upgrade moin to 1.9.6 or later Details ↓

Summary

Sentence 1: The MoinMoin wiki engine (versions before 1.9.6) contains unrestricted file upload flaws in its twikidraw and anywikidraw actions, located in action/twikidraw.py and action/anywikidraw.py. Sentence 2: A remote attacker who is an authenticated user with write permissions can upload a file with an executable extension and then request it directly from an unspecified directory to run arbitrary code.

Official description · CVE.org

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.

Breakdown
59.7 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 3 months before it was disclosed. Public exploit code (Metasploit) was available 4 days before disclosure.

  1. First seen exploitedVulnCheck KEV evidence3 mo before
  2. Public exploit codeMetasploit4 days before
  3. Disclosedday 0

7 fixes in moin over 6 years. The latest fix listed for moin is 1.9.9.

Fixes in moinPyPI package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 1.9.3CVE-2011-105822 Feb 2011
  2. 1.9.5CVE-2012-440410 Sep 2012
  3. 1.9.6CVE-2012-60803 Jan 2013
  4. 1.9.6CVE-2012-60813 Jan 2013
  5. 1.9.6CVE-2012-60823 Jan 2013
  6. 1.9.8CVE-2016-911930 Jan 2017
  7. 1.9.9CVE-2016-714610 Nov 2016Latest listed

techniques

No techniques linked

No high- or medium-confidence techniques. The 2 available links are lower confidence and listed below.

Lower-confidence links (2)

These come from early or generic mappings, text matching, or contradict this CVE’s details (for example a public-facing technique on a bug that needs a user to open a file). Shown for completeness.

  • Exploit Public-Facing ApplicationT1190 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)
  • Web ShellT1505.003 CTID attack_to_cve Phase 1 "Uncategorized" mapping (not staged by impact)

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: moin.

Upgrade to 1.9.6 or later

pippip install "moin>=1.9.6"

The first fix for CVE-2012-6081. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 1.9.61.9.6

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

13 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close