VYPR
Unrated severityNVD Advisory· Published Nov 4, 2012· Updated Jun 16, 2026

CVE-2012-5786

CVE-2012-5786

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 products

2
  • Apache/Cxf2 versions
    cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*range: <=2.6.17
    • (no CPE)range: <2.7.0

Patches

Vulnerability mechanics

References

2

News mentions

0

No linked articles in our index yet.