VULNERABILITY INTELLIGENCE
CVE-2012-5786
CVSS score5.8 MEDIUM
EPSS probability1.08%
CISA KEVNot currently listed
Published2012-11-04
Last modified2026-06-16
CVSS vectorAV:N/AC:M/Au:N/C:P/I:P/A:N
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
Weakness classification
- CWE-20: Improper Input Validation
Primary references
- cve@mitre.org — Technical Description, Third Party Advisory
- cve@mitre.org
- af854a3a-2127-422b-91ae-364da2661108 — Technical Description, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108