CVE-2012-5641

Summary

CVECVE-2012-5641
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2014-03-18 17:02:49 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionDirectory 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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:P/I:N/A:N

Problem Types: CWE-22 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None

AV:N/AC:L/Au:N/C:P/I:N/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Apache Couchdb 1.0.0 All All All
Application Apache Couchdb 1.0.1 All All All
Application Apache Couchdb 1.0.2 All All All
Application Apache Couchdb 1.1.0 All All All
Application Apache Couchdb 1.1.1 All All All
Application Apache Couchdb 1.2.0 All All All
Application Apache Couchdb All All All All
Application Mochiweb Project Mochiweb 2.1.0 All All All
Application Mochiweb Project Mochiweb 2.2.0 All All All
Application Mochiweb Project Mochiweb 2.2.1 All All All
Application Mochiweb Project Mochiweb 2.3.0 All All All
Application Mochiweb Project Mochiweb 2.3.1 All All All
Application Mochiweb Project Mochiweb All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
MochiWeb CVE-2012-5641 Directory Traversal Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com
Full Disclosure: CVE-2012-5641 Apache CouchDB Information disclosure via unescaped backslashes in URLs on Windows af854a3a-2127-422b-91ae-364da2661108 seclists.org
Using backslash on Path, arbitrary files can be accessed on Windows · Issue #92 · mochi/mochiweb · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com
Issue 92: Do not allow backslashes in path (security). · melkote/mochiweb@ac2bf2a · GitHub af854a3a-2127-422b-91ae-364da2661108 github.com Exploit, Patch
Security Advisory SA51765 - Apache CouchDB Multiple Vulnerabilities - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report