{"id":"CVE-2012-5641","state":"PUBLISHED","title":"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 be","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.","publishedAt":"2014-03-18T14:00:00.000Z","updatedAt":"2024-08-06T21:14:16.193Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.securityfocus.com/bid/57313","http://seclists.org/fulldisclosure/2013/Jan/81","http://secunia.com/advisories/51765","https://github.com/mochi/mochiweb/issues/92","https://exchange.xforce.ibmcloud.com/vulnerabilities/81240","https://github.com/melkote/mochiweb/commit/ac2bf"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:28.100Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/5xxx/CVE-2012-5641.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-5641","state":"PUBLISHED","datePublished":"2014-03-18T14:00:00.000Z","dateUpdated":"2024-08-06T21:14:16.193Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2012-10-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.securityfocus.com/bid/57313","name":"57313","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://seclists.org/fulldisclosure/2013/Jan/81","name":"20130114 CVE-2012-5641 Apache CouchDB Information disclosure via unescaped backslashes in URLs on Windows","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://secunia.com/advisories/51765","name":"51765","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://github.com/mochi/mochiweb/issues/92","tags":["x_refsource_CONFIRM"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/81240","name":"apache-couchdb-dir-traversal(81240)","tags":["vdb-entry","x_refsource_XF"]},{"url":"https://github.com/melkote/mochiweb/commit/ac2bf","tags":["x_refsource_CONFIRM"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2013-01-14T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2012-5641","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"57313","refsource":"BID","url":"http://www.securityfocus.com/bid/57313"},{"name":"20130114 CVE-2012-5641 Apache CouchDB Information disclosure via unescaped backslashes in URLs on Windows","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2013/Jan/81"},{"name":"51765","refsource":"SECUNIA","url":"http://secunia.com/advisories/51765"},{"name":"https://github.com/mochi/mochiweb/issues/92","refsource":"CONFIRM","url":"https://github.com/mochi/mochiweb/issues/92"},{"name":"apache-couchdb-dir-traversal(81240)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/81240"},{"name":"https://github.com/melkote/mochiweb/commit/ac2bf","refsource":"CONFIRM","url":"https://github.com/melkote/mochiweb/commit/ac2bf"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.securityfocus.com/bid/57313","name":"57313","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2013/Jan/81","name":"20130114 CVE-2012-5641 Apache CouchDB Information disclosure via unescaped backslashes in URLs on Windows","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://secunia.com/advisories/51765","name":"51765","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"]},{"url":"https://github.com/mochi/mochiweb/issues/92","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/81240","name":"apache-couchdb-dir-traversal(81240)","tags":["vdb-entry","x_refsource_XF","x_transferred"]},{"url":"https://github.com/melkote/mochiweb/commit/ac2bf","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T21:14:16.193Z"}}]}}}