CVE-2018-8039 It is possible to configure Apache CXF to use the com.sun.net.ssl implementation via…
Description
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 and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Apache CXF | Versions not published |
References
- github.com github.com
- RHSA-2018:2428 access.redhat.com
- RHSA-2018:3817 access.redhat.com
- RHSA-2018:2643 access.redhat.com
- [cxf-user] 20180628 Apache CXF 3.2.6 and 3.1.16 are released lists.apache.org
- 106357 www.securityfocus.com
- RHSA-2018:2279 access.redhat.com
- RHSA-2018:2424 access.redhat.com
- RHSA-2018:2276 access.redhat.com
- RHSA-2018:2423 access.redhat.com
- RHSA-2018:2425 access.redhat.com
- RHSA-2018:2277 access.redhat.com
- cxf.apache.org cxf.apache.org
- 1041199 www.securitytracker.com
- RHSA-2018:3768 access.redhat.com
- www.oracle.com www.oracle.com
- www.oracle.com www.oracle.com
- [cxf-commits] 20200116 svn commit: r1055336 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2019-12423.txt.asc security-advisories.data/CVE-2019-17573.txt.asc security-advisories.html lists.apache.org
- [cxf-commits] 20200319 svn commit: r1058035 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2019-17573.txt.asc security-advisories.html lists.apache.org
- [cxf-commits] 20200401 svn commit: r1058573 - in /websites/production/cxf/content: cache/main.pageCache index.html security-advisories.data/CVE-2020-1954.txt.asc security-advisories.html lists.apache.org
- www.oracle.com www.oracle.com
- [cxf-commits] 20201112 svn commit: r1067927 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2020-13954.txt.asc security-advisories.html lists.apache.org
- [cxf-commits] 20210402 svn commit: r1073270 - in /websites/production/cxf/content: cache/main.pageCache security-advisories.data/CVE-2021-22696.txt.asc security-advisories.html lists.apache.org
- [cxf-commits] 20210616 svn commit: r1075801 - in /websites/production/cxf/content: cache/main.pageCache index.html security-advisories.data/CVE-2021-30468.txt.asc security-advisories.html lists.apache.org
Timeline
- Published
- Last modified