CVE-2018-8039: vulnerability in Apache CXF
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 8.5%
It is possible to configure Apache CXF to use the com.sun.net.ssl implementation via 'System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");'. When this system property is set, CXF uses some reflection to try to make the HostnameVerifier work with the old com.sun.net.ssl.HostnameVerifier interface. However, the default HostnameVerifier implementation in CXF does not implement the method in this interface, and an exception is thrown. However, in Apache CXF prior to 3.2.5 and 3.1.16 the exception is caught in the reflection code and not properly propagated. What this means is that if you are using the com.sun.net.ssl stack with CXF, an error with TLS hostname verification will not be thrown, leaving a CXF client subject to man-in-the-middle attacks.
Affected products
Apache Software Foundation · Apache CXFRelated CVEs — Apache CXF
In the same product, most dangerous first.
CVE-2020-13954—Apache CXF Reflected XSS in the services listing page via the styleSheetPathEPSS 40.9%CVE-2017-5653—CVE-2017-5653EPSS 11.2%CVE-2016-6812—CVE-2016-6812EPSS 7.5%CVE-2016-8739—CVE-2016-8739EPSS 7.3%CVE-2021-30468—Apache CXF Denial of service vulnerability in parsing JSON via JsonMapObjectReaderWriterEPSS 7.0%CVE-2017-5656—CVE-2017-5656EPSS 6.8%
References
http://cxf.apache.org/security-advisories.data/CVE-2018-8039.txt.asc?version=1&modificationDate=1530184663000&api=v2https://access.redhat.com/errata/RHSA-2018:2276https://access.redhat.com/errata/RHSA-2018:2277https://access.redhat.com/errata/RHSA-2018:2279https://access.redhat.com/errata/RHSA-2018:2423https://access.redhat.com/errata/RHSA-2018:2424https://access.redhat.com/errata/RHSA-2018:2425https://access.redhat.com/errata/RHSA-2018:2428https://access.redhat.com/errata/RHSA-2018:2643https://access.redhat.com/errata/RHSA-2018:3768https://access.redhat.com/errata/RHSA-2018:3817https://github.com/apache/cxf/commit/fae6fabf9bd7647f5e9cb68897a7d72b545b741b