cxf: Does not verify that the server hostname matches a domain name in the subject's CN or subjectAltName field of the x.509 certificate
Published Nov 4, 2012
5.8
MEDIUMCVSS 2.0
EPSS 1.08%
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
Remediation
Red Hat statement
Not vulnerable. Apache CXF is shipped with several Red Hat products, but the wsdl_first_https sample is not included. Without this sample code, the flaw is not exposed.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:P/A:N
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Jun 18, 2024 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.08% (0.01084) | 63.98th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.08% (0.01084) | 60.75th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.13% (0.00125) | 29.29th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00045) | 17.83th | v3 (v2023.03.01) |
| May 1, 2024 | 0.04% (0.00045) | 14.42th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00045) | 12.38th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.89% (0.00885) | 26.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
References (6)
- http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf x_refsource_MISCTechnical DescriptionThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2012-5786 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=873255 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/79983 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2012-5786
- https://www.cve.org/CVERecord?id=CVE-2012-5786
| Link | Providers | Tags |
|---|---|---|
| http://www.cs.utexas.edu/~shmat/shmat_ccs12.pdf | x_refsource_MISCTechnical DescriptionThird Party Advisory | |
| https://access.redhat.com/security/cve/CVE-2012-5786 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=873255 | Issue Tracking | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/79983 | vdb-entryx_refsource_XF | |
| https://nvd.nist.gov/vuln/detail/CVE-2012-5786 | ||
| https://www.cve.org/CVERecord?id=CVE-2012-5786 |
Change history (0)
No recorded changes yet.