CVE-2018-17187 Improper Certificate Validation in proton-j
- Published
- Updated
- Exploit status
- No public exploit known
Description
The Apache Qpid Proton-J transport includes an optional wrapper layer to perform TLS, enabled by use of the 'transport.ssl(...)' methods. Unless a verification mode was explicitly configured, client and server modes previously defaulted as documented to not verifying a peer certificate, with options to configure this explicitly or select a certificate verification mode with or without hostname verification being performed. The latter hostname verifying mode was not implemented in Apache Qpid Proton-J versions 0.3 to 0.29.0, with attempts to use it resulting in an exception. This left only the option to verify the certificate is trusted, leaving such a client vulnerable to Man In The Middle (MITM) attack. Uses of the Proton-J protocol engine which do not utilise the optional transport TLS wrapper are not impacted, e.g. usage within Qpid JMS. Uses of Proton-J utilising the optional transport TLS wrapper layer that wish to enable hostname verification must be upgraded to version 0.30.0 or later and utilise the VerifyMode#VERIFY_PEER_NAME configuration, which is now the default for client mode usage unless configured otherwise.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.qpid/proton-j(Maven) | >= 0.3, < 0.30.0 | 0.30.0 |
| org.apache.qpid/proton-j(Maven) | = 0.10 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.11.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.11.1 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.12.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.12.1 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.12.2 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.13.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.13.1 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.14.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.15.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.16.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.17.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.18.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.19.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.20.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.21.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.22.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.23.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.24.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.25.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.26.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.27.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.27.1 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.27.2 | No fix listed |
Show 17 more
| Product | Affected versions | Fixed in |
|---|---|---|
| org.apache.qpid/proton-j(Maven) | = 0.27.3 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.28.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.28.1 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.29.0 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.4 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.5 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.6 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.7 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.8 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.9 | No fix listed |
| org.apache.qpid/proton-j(Maven) | = 0.9.1 | No fix listed |
| org.apache.qpid/proton-j(Maven) | >= 0.3, <= 0.29.0 | No fix listed |
| debian/qpid-proton(Debian:12) | < 0.22.0-1 | 0.22.0-1 |
| debian/qpid-proton(Debian:13) | < 0.22.0-1 | 0.22.0-1 |
| debian/qpid-proton(Debian:14) | < 0.22.0-1 | 0.22.0-1 |
| apache qpid proton-j | >= 0.3, <= 0.29.0 | No fix listed |
| Apache Qpid Proton-J | = Apache Qpid Proton-J 0.3 to 0.29.0 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com vendor-advisory
- issues.apache.org vendor-advisory
- mail-archives.apache.org mailing-list mitigation vendor-advisory
- qpid.apache.org mitigation vendor-advisory
- 105935 third-party-advisory vdb-entry
- Debian Security Tracker CVE-2018-17187 vendor-advisory