{"id":"CVE-2012-6081","published":"2013-01-03T01:00:00Z","modified":"2024-08-06T21:21:28Z","title":"Multiple unrestricted file upload vulnerabilities in the (1) twikidraw (action/twikidraw.py) and (2) anywikidraw…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"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.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:16:21Z"},"cvss":null,"epss":{"score":0.35105,"percentile":0.98449,"date":"2026-11-08","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2012-09-22","exploitedFirstSeen":"2012-09-22","ransomware":false,"evidence":[{"url":"https://moinmo.in/SecurityFixes","date":"2012-09-22"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-6081","date":"2013-01-03"}],"evidenceTotal":2,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://moinmo.in/MoinMoinRelease1.9","tags":["x_refsource_CONFIRM"]},{"url":"http://moinmo.in/SecurityFixes","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/51663","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://hg.moinmo.in/moin/1.9/rev/7e7e1cbb9d3f","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2012/dsa-2593","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/moin/+bug/1094599","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/57082","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.openwall.com/lists/oss-security/2012/12/29/6","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/51676","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.openwall.com/lists/oss-security/2012/12/30/4","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://secunia.com/advisories/51696","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.exploit-db.com/exploits/25304","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://ubuntu.com/usn/usn-1680-1","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 1)","mappingType":"uncategorized","evidence":[],"confidence":"low","confidenceNote":"CTID attack_to_cve Phase 1 \"Uncategorized\" mapping (not staged by impact)"},{"id":"T1505.003","name":"Web Shell","tactics":["persistence"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 1)","mappingType":"uncategorized","evidence":[],"confidence":"low","confidenceNote":"CTID attack_to_cve Phase 1 \"Uncategorized\" mapping (not staged by impact)"}],"reports":[],"affected":[{"ecosystem":"PyPI","package":"moin","vulnerableRanges":["<1.9.6"],"patched":["1.9.6"],"from":["GHSA-m2c4-jgmm-fvq3","PYSEC-2013-6"],"provenance":"source"}],"advisories":[{"id":"GHSA-m2c4-jgmm-fvq3","url":"https://github.com/advisories/GHSA-m2c4-jgmm-fvq3","severity":"MODERATE","ecosystem":"PyPI","package":"moin","vulnerableRanges":["<1.9.6"],"patched":["1.9.6"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2013-0020","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2013-0020","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":25304,"url":"https://www.exploit-db.com/exploits/25304","title":"MoinMoin - Arbitrary Command Execution","type":"webapps","platform":"php","date":"2013-05-08","verified":true,"provenance":"source"},{"id":26422,"url":"https://www.exploit-db.com/exploits/26422","title":"MoinMoin - twikidraw Action Traversal Arbitrary File Upload (Metasploit)","type":"remote","platform":"linux","date":"2013-06-24","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2013-05-08"},"metasploit":[{"name":"MoinMoin twikidraw Action Traversal File Upload","module":"exploit/unix/webapp/moinmoin_twikidraw","type":"exploit","disclosureDate":"2012-12-30","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/moinmoin_twikidraw.rb"}],"first":{"date":"2012-12-30","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/moinmoin_twikidraw.rb"},"provenance":"source"},"exploitRefs":["http://www.exploit-db.com/exploits/25304"],"flow":[{"stage":"related","techniques":["T1190","T1505.003"],"provenance":"source","lowConfidence":true}],"timeline":[{"date":"2012-09-22","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://moinmo.in/SecurityFixes","provenance":"source"},{"date":"2012-12-30","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2013-05-08","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/moinmoin_twikidraw.rb","provenance":"source"},{"date":"2013-01-03","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2012-6081","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":59.7,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 5160 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.69,"detail":"percentile 0.9845"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 2 Exploit-DB entries; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2011-1058","published":"2011-02-22","fixed":"1.9.3","kev":false},{"cve":"CVE-2012-4404","published":"2012-09-10","fixed":"1.9.5","kev":false,"link":{"from":"CVE-2012-4404","to":"CVE-2012-6081","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:moin","fromFixed":"1.9.5","toFixed":"1.9.6","daysApart":115}]}},{"cve":"CVE-2012-6080","published":"2013-01-03","fixed":"1.9.6","kev":false},{"cve":"CVE-2012-6081","published":"2013-01-03","fixed":"1.9.6","kev":false},{"cve":"CVE-2012-6082","published":"2013-01-03","fixed":"1.9.6","kev":false},{"cve":"CVE-2016-9119","published":"2017-01-30","fixed":"1.9.8","kev":false},{"cve":"CVE-2016-7146","published":"2016-11-10","fixed":"1.9.9","kev":false}],"package":"PyPI:moin"}}