CVE-2012-5786

Apache CXF < 2.6.17 - Man-in-the-Middle Attack via Improper Certificate Validation

Title source: llm
STIX 2.1

Description

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

References (2)

Core 2
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/79983
Technical Description, Third Party Advisory x_refsource_misc
http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf

Scores

EPSS 0.0108
EPSS Percentile 61.3%

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-20
Status published
Products (1)
apache/cxf < 2.6.17
Published Nov 04, 2012
Tracked Since Feb 18, 2026