CVE-2012-5786
CVE-2012-5786 is a medium-severity vulnerability in Apache Cxf with a CVSS 2.0 base score of 5.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-20.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.8)
- EPSS exploit prediction: 1% (61st percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-20
- Affected product: Apache Cxf
- Published:
- Last modified:
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
Frequently asked questions
- What is CVE-2012-5786?
- 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
- How severe is CVE-2012-5786?
- CVE-2012-5786 has a CVSS 2.0 base score of 5.8, rated medium severity.
- Is CVE-2012-5786 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (61st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-5786?
- CVE-2012-5786 affects Apache Cxf. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2012-5786?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-5786 published?
- CVE-2012-5786 was published on 2012-11-04 and last updated on 2026-06-16.
References
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79983
Affected products (1)
- cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
More vulnerabilities in Apache Cxf
- CVE-2012-2379 — Critical (CVSS 10.0): Apache CXF 2.4.x before 2.4.8, 2.5.x before 2.5.4, and 2.6.x before 2.6.1, when a Supporting Token specifies a child…
- CVE-2026-50628 — Critical (CVSS 9.8): A logic error in OAuthRequestFilter rejects legitimate requests originating from the bound IP address, while blindly…
- CVE-2026-49875 — Critical (CVSS 9.8): Apache CXF's EndpointReferenceUtils and W3CMultiSchemaFactory classes construct a SAXParserFactory without the…
- CVE-2026-44930 — Critical (CVSS 9.8): An LDAP injection vulnerability in the LDAP Certificate repository of the XKMS server in Apache CXF may allow an…
- CVE-2025-48913 — Critical (CVSS 9.8): If untrusted users are allowed to configure JMS for Apache CXF, previously they could use RMI or LDAP URLs, potentially…
- CVE-2022-46364 — Critical (CVSS 9.8): A SSRF vulnerability in parsing the href attribute of XOP:Include in MTOM requests in versions of Apache CXF before…
All CVEs affecting Apache Cxf →
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →