Man-in-the-Middle (MitM) Affecting org.apache.cxf:cxf-rt-transports-http Open this link in a new tab package, versions [,3.1.16) [3.2.0,3.2.6)
Do your applications use this vulnerable package?
4 Jul 2018
2 Jul 2018
How to fix?
org.apache.cxf:cxf-rt-transports-http to version 3.1.16, 3.2.6 or higher.
org.apache.cxf:cxf-rt-transports-http is an open source services framework.
Affected versions of this package are vulnerable to Man-in-the-Middle (MitM). When configuring CXF to use the
com.sun.net.ssl implementation via:
It attempts to make the
HostnameVerifier work with the old
com.sun.net.ssl.HostnameVerifier interface, but the default
HostnameVerifier implementation in CXF does not implement the method in this interface which caused an exception is thrown. This exception caught in the reflection code and not properly propagated. Thus the TLS hostname verification error will not be thrown, leaving a CXF client subject to man-in-the-middle attacks.