Vulnerabilities · 2012 · Apache
CVE-2012-5641
Apache Couchdb vulnerability
Directory traversal vulnerability in the partition2 function in mochiweb_util.erl in MochiWeb before 2.4.0, as used in Apache CouchDB before 1.0.4, 1.1.x before 1.1.2, and 1.2.x before 1.2.1, allows remote attackers to read arbitrary files via a ..\ (dot dot backslash) in the default URI.
Affected products
Couchdb, Mochiweb. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Apache Couchdb runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/melkote/mochiweb/commit/ac2bf · Exploit
- seclists.org/fulldisclosure/2013/Jan/81
- secunia.com/advisories/51765
- www.securityfocus.com/bid/57313
- exchange.xforce.ibmcloud.com/vulnerabilities/81240
- github.com/mochi/mochiweb/issues/92
- nvd.nist.gov/vuln/detail/CVE-2012-5641
- cve.org/CVERecord?id=CVE-2012-5641
More vulnerabilities in Apache products
CVE-2026-47340CVE-2026-44930CVE-2026-44618CVE-2026-44417CVE-2026-42357CVE-2026-41280CVE-2026-32967CVE-2026-32966All 2,699
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.