CVEvulnerability

CVE-2012-5786

5.8 MEDIUM Published 2012-11-04 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2012-11-04
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
5.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:N
Weaknesses
CWE-20

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

Affected configurations

• apache cxf (<= 2.6.17)

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References