{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2012-5786","published":"2012-11-04T22:55:03.450000Z","last_modified":"2026-06-16T23:47:20.177000Z","status":"Modified","cvss":{"version":"2.0","score":5.8,"severity":"MEDIUM","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*","part":"a","vendor":"apache","product":"cxf","version_end_including":"2.6.17"}],"cpes_truncated":false,"vendors":["apache"],"products":["apache/cxf"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.01084,"percentile":0.64835,"date":"2026-11-27","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":50,"links":{"html_es":"/es/cve/CVE-2012-5786/","html_en":"/en/cve/CVE-2012-5786/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-5786","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-5786"},"untrusted":{"vendor_name":"Apache","product_name":"Cxf","desc_en":"The wsdl_first_https sample code in distribution/src/main/release/samples/wsdl_first_https/src/main/ in Apache CXF before 2.7.0 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate. NOTE: The vendor states that the sample had specifically used a flag to bypass the DN check","affected":[],"references":[{"url":"http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf","tags":["Technical Description","Third Party Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/79983","tags":[]}]}}