cve-2012-5641
Vulnerability from cvelistv5
Published
2014-03-18 14:00
Modified
2024-08-06 21:14
Severity ?
Summary
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.
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T21:14:16.193Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "name": "57313",
            "tags": [
              "vdb-entry",
              "x_refsource_BID",
              "x_transferred"
            ],
            "url": "http://www.securityfocus.com/bid/57313"
          },
          {
            "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://seclists.org/fulldisclosure/2013/Jan/81"
          },
          {
            "name": "51765",
            "tags": [
              "third-party-advisory",
              "x_refsource_SECUNIA",
              "x_transferred"
            ],
            "url": "http://secunia.com/advisories/51765"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/mochi/mochiweb/issues/92"
          },
          {
            "name": "apache-couchdb-dir-traversal(81240)",
            "tags": [
              "vdb-entry",
              "x_refsource_XF",
              "x_transferred"
            ],
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/81240"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://github.com/melkote/mochiweb/commit/ac2bf"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2013-01-14T00:00:00",
      "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."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2017-08-28T12:57:01",
        "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "shortName": "redhat"
      },
      "references": [
        {
          "name": "57313",
          "tags": [
            "vdb-entry",
            "x_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",
          "tags": [
            "mailing-list",
            "x_refsource_FULLDISC"
          ],
          "url": "http://seclists.org/fulldisclosure/2013/Jan/81"
        },
        {
          "name": "51765",
          "tags": [
            "third-party-advisory",
            "x_refsource_SECUNIA"
          ],
          "url": "http://secunia.com/advisories/51765"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/mochi/mochiweb/issues/92"
        },
        {
          "name": "apache-couchdb-dir-traversal(81240)",
          "tags": [
            "vdb-entry",
            "x_refsource_XF"
          ],
          "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/81240"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/melkote/mochiweb/commit/ac2bf"
        }
      ],
      "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"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
    "assignerShortName": "redhat",
    "cveId": "CVE-2012-5641",
    "datePublished": "2014-03-18T14:00:00",
    "dateReserved": "2012-10-24T00:00:00",
    "dateUpdated": "2024-08-06T21:14:16.193Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2012-5641\",\"sourceIdentifier\":\"secalert@redhat.com\",\"published\":\"2014-03-18T17:02:49.637\",\"lastModified\":\"2024-11-21T01:45:01.600\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"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.\"},{\"lang\":\"es\",\"value\":\"Vulnerabilidad de salto de directorio en la funci\u00f3n partition2 en mochiweb_util.erl en MochiWeb anterior a 2.4.0, utilizado en Apache CouchDB anterior a 1.0.4, 1.1.x anterior a 1.1.2 y 1.2.x anterior a 1.2.1, permite a atacantes remotos leer archivos arbitrarios a trav\u00e9s de un ..\\\\ (punto punto barra invertida) en la URI por defecto.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:N/A:N\",\"baseScore\":5.0,\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"NONE\"},\"baseSeverity\":\"MEDIUM\",\"exploitabilityScore\":10.0,\"impactScore\":2.9,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-22\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:couchdb:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"1.0.3\",\"matchCriteriaId\":\"F6B47DCC-A6D4-452D-914D-2C3261022ECF\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:couchdb:1.0.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6572D2CB-472B-4CF0-B802-F52C12BA88BC\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:couchdb:1.0.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"0F3142CB-1AF1-456D-AF66-3701FECBD490\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:couchdb:1.0.2:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"00AEAD55-82F4-4B18-A7DA-56B0D3EFAF3E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:couchdb:1.1.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"3513A36D-5D92-4CDC-AA96-F3E2A390B493\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:couchdb:1.1.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B49729E5-5B82-47AB-A9A6-5ED7C725591C\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:apache:couchdb:1.2.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"C4C2436A-0E85-44F8-9691-B193D8E3B8A5\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:mochiweb_project:mochiweb:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"2.3.2\",\"matchCriteriaId\":\"CD552EB6-A95F-4B80-B5B1-FBAB83CBCC77\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:mochiweb_project:mochiweb:2.1.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"172A46BC-F900-4407-8968-A28D10BEFC8E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:mochiweb_project:mochiweb:2.2.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"91783915-10E5-4798-BF53-F8F14133FE86\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:mochiweb_project:mochiweb:2.2.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"A4150C96-780E-45F7-A7BB-4B8C9331C8F9\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:mochiweb_project:mochiweb:2.3.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"6BBEBF7F-68BE-48E6-AE24-F1430296D63F\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:mochiweb_project:mochiweb:2.3.1:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"B3DD416F-E07A-480B-9D66-EE001E1AB9AC\"}]}]}],\"references\":[{\"url\":\"http://seclists.org/fulldisclosure/2013/Jan/81\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://secunia.com/advisories/51765\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://www.securityfocus.com/bid/57313\",\"source\":\"secalert@redhat.com\"},{\"url\":\"https://exchange.xforce.ibmcloud.com/vulnerabilities/81240\",\"source\":\"secalert@redhat.com\"},{\"url\":\"https://github.com/melkote/mochiweb/commit/ac2bf\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Exploit\",\"Patch\"]},{\"url\":\"https://github.com/mochi/mochiweb/issues/92\",\"source\":\"secalert@redhat.com\"},{\"url\":\"http://seclists.org/fulldisclosure/2013/Jan/81\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://secunia.com/advisories/51765\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.securityfocus.com/bid/57313\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://exchange.xforce.ibmcloud.com/vulnerabilities/81240\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://github.com/melkote/mochiweb/commit/ac2bf\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Patch\"]},{\"url\":\"https://github.com/mochi/mochiweb/issues/92\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.