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.
References
- 57313 vdb-entry
- 20130114 CVE-2012-5641 Apache CouchDB Information disclosure via unescaped backslashes in URLs on Windows mailing-list
- 51765 third-party-advisory
- https://github.com/mochi/mochiweb/issues/92
- apache-couchdb-dir-traversal(81240) vdb-entry
- https://github.com/melkote/mochiweb/commit/ac2bf