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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 6.0 | moin | 1.9.3-1+squeeze4 | DSA-2593-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
MoinMoin twikidraw Action Traversal File Upload
exploit/unix/webapp/moinmoin_twikidraw
Exploit-DB 2
- MoinMoin - twikidraw Action Traversal Arbitrary File Upload (Metasploit) EDB-26422 · remote · Jun 24, 2013 · verified
- MoinMoin - Arbitrary Command Execution EDB-25304 · webapps · May 8, 2013 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | moin | < 1.9.6 | 1.9.6 | GHSA-m2c4-jgmm-fvq3 |
Advisories 1
- DSA-2593-1 moin - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- http://moinmo.in/MoinMoinRelease1.9
- http://moinmo.in/SecurityFixes
- 51663 third-party-advisory
- http://hg.moinmo.in/moin/1.9/rev/7e7e1cbb9d3f
- DSA-2593 vendor-advisory
- https://bugs.launchpad.net/ubuntu/+source/moin/+bug/1094599
- 57082 vdb-entry
- [oss-security] 20121229 CVE request: MoinMoin Wiki (remote code execution vulnerability) mailing-list
- 51676 third-party-advisory
- [oss-security] 20121229 Re: CVE request: MoinMoin Wiki (remote code execution vulnerability) mailing-list
- 51696 third-party-advisory
- 25304 exploit
- USN-1680-1 vendor-advisory