ID CVE-2018-8020
Summary Apache Tomcat Native 1.2.0 to 1.2.16 and 1.1.23 to 1.1.34 has a flaw that does not properly check OCSP pre-produced responses, which are lists (multiple entries) of certificate statuses. Subsequently, revoked client certificates may not be properly identified, allowing for users to authenticate with revoked certificates to connections that require mutual TLS. Users not using OCSP checks are not affected by this vulnerability.
References
Vulnerable Configurations
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.23:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.23:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.24:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.24:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.25:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.25:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.26:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.26:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.27:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.27:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.28:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.28:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.29:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.29:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.30:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.30:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.31:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.31:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.32:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.32:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.33:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.33:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.1.34:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.1.34:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.5:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.6:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.7:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.7:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.8:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.8:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.9:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.10:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.11:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.12:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.13:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.13:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.14:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.14:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.15:*:*:*:*:*:*:*
  • cpe:2.3:a:apache:tomcat_native:1.2.16:*:*:*:*:*:*:*
    cpe:2.3:a:apache:tomcat_native:1.2.16:*:*:*:*:*:*:*
CVSS
Base: 4.3 (as of 24-12-2020 - 17:15)
Impact:
Exploitability:
CWE CWE-295
CAPEC
  • Creating a Rogue Certification Authority Certificate
    An adversary exploits a weakness in the MD5 hash algorithm (weak collision resistance) to generate a certificate signing request (CSR) that contains collision blocks in the "to be signed" part. The adversary specially crafts two different, but valid X.509 certificates that when hashed with the MD5 algorithm would yield the same value. The adversary then sends the CSR for one of the certificates to the Certification Authority which uses the MD5 hashing algorithm. That request is completely valid and the Certificate Authority issues an X.509 certificate to the adversary which is signed with its private key. An adversary then takes that signed blob and inserts it into another X.509 certificate that the attacker generated. Due to the MD5 collision, both certificates, though different, hash to the same value and so the signed blob works just as well in the second certificate. The net effect is that the adversary's second X.509 certificate, which the Certification Authority has never seen, is now signed and validated by that Certification Authority. To make the attack more interesting, the second certificate could be not just a regular certificate, but rather itself a signing certificate. Thus the adversary is able to start their own Certification Authority that is anchored in its root of trust in the legitimate Certification Authority that has signed the attackers' first X.509 certificate. If the original Certificate Authority was accepted by default by browsers, so will now the Certificate Authority set up by the adversary and of course any certificates that it signs. So the adversary is now able to generate any SSL certificates to impersonate any web server, and the user's browser will not issue any warning to the victim. This can be used to compromise HTTPS communications and other types of systems where PKI and X.509 certificates may be used (e.g., VPN, IPSec).
Access
VectorComplexityAuthentication
NETWORK MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:N/AC:M/Au:N/C:N/I:P/A:N
redhat via4
advisories
  • rhsa
    id RHSA-2018:2469
  • rhsa
    id RHSA-2018:2470
rpms
  • tomcat-native-0:1.2.17-17.redhat_17.ep7.el6
  • tomcat-native-0:1.2.17-17.redhat_17.ep7.el7
  • tomcat-native-debuginfo-0:1.2.17-17.redhat_17.ep7.el6
  • tomcat-native-debuginfo-0:1.2.17-17.redhat_17.ep7.el7
  • tomcat7-0:7.0.70-27.ep7.el6
  • tomcat7-0:7.0.70-27.ep7.el7
  • tomcat7-admin-webapps-0:7.0.70-27.ep7.el6
  • tomcat7-admin-webapps-0:7.0.70-27.ep7.el7
  • tomcat7-docs-webapp-0:7.0.70-27.ep7.el6
  • tomcat7-docs-webapp-0:7.0.70-27.ep7.el7
  • tomcat7-el-2.2-api-0:7.0.70-27.ep7.el6
  • tomcat7-el-2.2-api-0:7.0.70-27.ep7.el7
  • tomcat7-javadoc-0:7.0.70-27.ep7.el6
  • tomcat7-javadoc-0:7.0.70-27.ep7.el7
  • tomcat7-jsp-2.2-api-0:7.0.70-27.ep7.el6
  • tomcat7-jsp-2.2-api-0:7.0.70-27.ep7.el7
  • tomcat7-jsvc-0:7.0.70-27.ep7.el6
  • tomcat7-jsvc-0:7.0.70-27.ep7.el7
  • tomcat7-lib-0:7.0.70-27.ep7.el6
  • tomcat7-lib-0:7.0.70-27.ep7.el7
  • tomcat7-log4j-0:7.0.70-27.ep7.el6
  • tomcat7-log4j-0:7.0.70-27.ep7.el7
  • tomcat7-selinux-0:7.0.70-27.ep7.el6
  • tomcat7-selinux-0:7.0.70-27.ep7.el7
  • tomcat7-servlet-3.0-api-0:7.0.70-27.ep7.el6
  • tomcat7-servlet-3.0-api-0:7.0.70-27.ep7.el7
  • tomcat7-webapps-0:7.0.70-27.ep7.el6
  • tomcat7-webapps-0:7.0.70-27.ep7.el7
  • tomcat8-0:8.0.36-31.ep7.el6
  • tomcat8-0:8.0.36-31.ep7.el7
  • tomcat8-admin-webapps-0:8.0.36-31.ep7.el6
  • tomcat8-admin-webapps-0:8.0.36-31.ep7.el7
  • tomcat8-docs-webapp-0:8.0.36-31.ep7.el6
  • tomcat8-docs-webapp-0:8.0.36-31.ep7.el7
  • tomcat8-el-2.2-api-0:8.0.36-31.ep7.el6
  • tomcat8-el-2.2-api-0:8.0.36-31.ep7.el7
  • tomcat8-javadoc-0:8.0.36-31.ep7.el6
  • tomcat8-javadoc-0:8.0.36-31.ep7.el7
  • tomcat8-jsp-2.3-api-0:8.0.36-31.ep7.el6
  • tomcat8-jsp-2.3-api-0:8.0.36-31.ep7.el7
  • tomcat8-jsvc-0:8.0.36-31.ep7.el6
  • tomcat8-jsvc-0:8.0.36-31.ep7.el7
  • tomcat8-lib-0:8.0.36-31.ep7.el6
  • tomcat8-lib-0:8.0.36-31.ep7.el7
  • tomcat8-log4j-0:8.0.36-31.ep7.el6
  • tomcat8-log4j-0:8.0.36-31.ep7.el7
  • tomcat8-selinux-0:8.0.36-31.ep7.el6
  • tomcat8-selinux-0:8.0.36-31.ep7.el7
  • tomcat8-servlet-3.1-api-0:8.0.36-31.ep7.el6
  • tomcat8-servlet-3.1-api-0:8.0.36-31.ep7.el7
  • tomcat8-webapps-0:8.0.36-31.ep7.el6
  • tomcat8-webapps-0:8.0.36-31.ep7.el7
refmap via4
bid 104934
mlist
  • [debian-lts-announce] 20180822 [SECURITY] [DLA 1475-1] tomcat-native security update
  • [rocketmq-dev] 20201224 [GitHub] [rocketmq] codecov-io commented on pull request #2517: fix CVE-2019-16869, CVE-2018-8020
  • [rocketmq-dev] 20201224 [GitHub] [rocketmq] coveralls commented on pull request #2517: fix CVE-2019-16869, CVE-2018-8020
  • [rocketmq-dev] 20201224 [GitHub] [rocketmq] crazywen opened a new pull request #2517: fix CVE-2019-16869, CVE-2018-8020
  • [tomcat-dev] 20190319 svn commit: r1855831 [26/30] - in /tomcat/site/trunk: ./ docs/ xdocs/
  • [tomcat-dev] 20190325 svn commit: r1856174 [26/29] - in /tomcat/site/trunk: docs/ xdocs/ xdocs/stylesheets/
  • [tomcat-dev] 20200203 svn commit: r1873527 [26/30] - /tomcat/site/trunk/docs/
  • [tomcat-dev] 20200213 svn commit: r1873980 [31/34] - /tomcat/site/trunk/docs/
  • [www-announce] 20180721 [SECURITY] CVE-2018-8020 Apache Tomcat Native Connector - Mishandled OCSP responses can allow clients to authenticate with revoked certificates
sectrack 1041507
Last major update 24-12-2020 - 17:15
Published 31-07-2018 - 13:29
Last modified 24-12-2020 - 17:15
Back to Top