CVEvulnerability
CVE-2012-5641
5.0 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2014-03-18
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-22
Description
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 configurations
• apache couchdb (<= 1.0.3)
• apache couchdb 1.0.0
• apache couchdb 1.0.1
• apache couchdb 1.0.2
• apache couchdb 1.1.0
• apache couchdb 1.1.1
• apache couchdb 1.2.0
• mochiweb project mochiweb (<= 2.3.2)
• mochiweb project mochiweb 2.1.0
• mochiweb project mochiweb 2.2.0
• mochiweb project mochiweb 2.2.1
• mochiweb project mochiweb 2.3.0
• mochiweb project mochiweb 2.3.1
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- http://seclists.org/fulldisclosure/2013/Jan/81 seclists.org
- http://secunia.com/advisories/51765 secunia.com
- http://www.securityfocus.com/bid/57313 www.securityfocus.com
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81240 exchange.xforce.ibmcloud.com
- https://github.com/melkote/mochiweb/commit/ac2bf Exploit, Patch
- https://github.com/mochi/mochiweb/issues/92 github.com
- http://seclists.org/fulldisclosure/2013/Jan/81 seclists.org
- http://secunia.com/advisories/51765 secunia.com
- http://www.securityfocus.com/bid/57313 www.securityfocus.com
- https://exchange.xforce.ibmcloud.com/vulnerabilities/81240 exchange.xforce.ibmcloud.com
- https://github.com/melkote/mochiweb/commit/ac2bf Exploit, Patch
- https://github.com/mochi/mochiweb/issues/92 github.com