8.1
CWE
755
Advisory Published
CVE Published
Advisory Published
Updated

CVE-2018-8039

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is CVE-2018-8039?

    CVE-2018-8039 is a vulnerability in Apache CXF that could allow a remote attacker to conduct a man-in-the-middle attack.

  • How does the vulnerability in Apache CXF work?

    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.

  • What is the severity of CVE-2018-8039?

    The severity of CVE-2018-8039 is high, with a CVSS score of 8.1.

  • Which software versions are affected by CVE-2018-8039?

    Apache CXF versions up to 3.2.5 and versions up to 3.1.16 are affected by CVE-2018-8039.

  • How can I fix 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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203