First published: Tue Jun 26 2018(Updated: )
A flaw was found in the way Apache CXF handle exceptions when CXF is configured to use the com.sun.net.ssl implementation via System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol") function. 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 therefore an exception is thrown. The exception is caught in the reflection code but not properly propagated which leaves CXF client subject to man-in-the-middle attacks. Upstream Patch: <a href="https://github.com/apache/cxf/commit/fae6fabf9bd7647f5e9cb68897a7d7">https://github.com/apache/cxf/commit/fae6fabf9bd7647f5e9cb68897a7d7</a>
Credit: security@apache.org security@apache.org
Affected Software | Affected Version | How to fix |
---|---|---|
Apache CXF | <3.1.16 | |
Apache CXF | >=3.2.0<3.2.5 | |
Redhat Jboss Enterprise Application Platform | =7.1.0 | |
maven/org.apache.cxf:apache-cxf | <3.1.16 | 3.1.16 |
maven/org.apache.cxf:apache-cxf | >=3.2.0<3.2.5 | 3.2.5 |
maven/org.apache.cxf:cxf | <3.1.16 | 3.1.16 |
maven/org.apache.cxf:cxf | >=3.2.0<3.2.5 | 3.2.5 |
redhat/apache-cxf | <3.2.5 | 3.2.5 |
redhat/apache-cxf | <3.1.16 | 3.1.16 |
<=10.5 | ||
<=10.6 | ||
<=11.0 | ||
<=11.1 | ||
<=11.2 | ||
<=11.3 | ||
<=11.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2018-8039 is a vulnerability in Apache CXF that could allow a remote attacker to conduct a man-in-the-middle attack.
The vulnerability is caused by configuring Apache CXF to use the com.sun.net.ssl implementation, which allows the HostnameVerifier to work with old com.sun classes.
The severity of CVE-2018-8039 is high, with a CVSS score of 8.1.
Apache CXF versions up to 3.2.5 and versions up to 3.1.16 are affected by CVE-2018-8039.
To fix CVE-2018-8039, upgrade to Apache CXF version 3.2.6 or later, or version 3.1.17 or later.