Live threats

All CVEs / Apache

CVE-2012-5786Apache Cxf

Medium 5.8 No auth needed

Priority
50
CVSS 2.0
5.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
No
Published
Nov 4, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Cxf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
apachecxf≤ 2.6.17

Official sources

References

Links published by the sources. Open them with care.