ID CVE-2017-15698
Summary When parsing the AIA-Extension field of a client certificate, Apache Tomcat Native Connector 1.2.0 to 1.2.14 and 1.1.23 to 1.1.34 did not correctly handle fields longer than 127 bytes. The result of the parsing error was to skip the OCSP check. It was therefore possible for client certificates that should have been rejected (if the OCSP check had been made) to be accepted. Users not using OCSP checks are not affected by this vulnerability.
References
Vulnerable Configurations
  • 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:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
CVSS
Base: 4.3 (as of 25-03-2019 - 11:35)
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:0465
  • rhsa
    id RHSA-2018:0466
rpms
  • mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el6
  • mod_cluster-0:1.3.8-2.Final_redhat_2.1.ep7.el7
  • mod_cluster-tomcat7-0:1.3.8-2.Final_redhat_2.1.ep7.el6
  • mod_cluster-tomcat7-0:1.3.8-2.Final_redhat_2.1.ep7.el7
  • mod_cluster-tomcat8-0:1.3.8-2.Final_redhat_2.1.ep7.el6
  • mod_cluster-tomcat8-0:1.3.8-2.Final_redhat_2.1.ep7.el7
  • tomcat-native-0:1.2.8-11.redhat_11.ep7.el6
  • tomcat-native-0:1.2.8-11.redhat_11.ep7.el7
  • tomcat-native-debuginfo-0:1.2.8-11.redhat_11.ep7.el6
  • tomcat-native-debuginfo-0:1.2.8-11.redhat_11.ep7.el7
  • tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el6
  • tomcat-vault-0:1.1.6-1.Final_redhat_1.1.ep7.el7
  • tomcat-vault-tomcat7-0:1.1.6-1.Final_redhat_1.1.ep7.el6
  • tomcat-vault-tomcat7-0:1.1.6-1.Final_redhat_1.1.ep7.el7
  • tomcat-vault-tomcat8-0:1.1.6-1.Final_redhat_1.1.ep7.el6
  • tomcat-vault-tomcat8-0:1.1.6-1.Final_redhat_1.1.ep7.el7
  • tomcat7-0:7.0.70-25.ep7.el6
  • tomcat7-0:7.0.70-25.ep7.el7
  • tomcat7-admin-webapps-0:7.0.70-25.ep7.el6
  • tomcat7-admin-webapps-0:7.0.70-25.ep7.el7
  • tomcat7-docs-webapp-0:7.0.70-25.ep7.el6
  • tomcat7-docs-webapp-0:7.0.70-25.ep7.el7
  • tomcat7-el-2.2-api-0:7.0.70-25.ep7.el6
  • tomcat7-el-2.2-api-0:7.0.70-25.ep7.el7
  • tomcat7-javadoc-0:7.0.70-25.ep7.el6
  • tomcat7-javadoc-0:7.0.70-25.ep7.el7
  • tomcat7-jsp-2.2-api-0:7.0.70-25.ep7.el6
  • tomcat7-jsp-2.2-api-0:7.0.70-25.ep7.el7
  • tomcat7-jsvc-0:7.0.70-25.ep7.el6
  • tomcat7-jsvc-0:7.0.70-25.ep7.el7
  • tomcat7-lib-0:7.0.70-25.ep7.el6
  • tomcat7-lib-0:7.0.70-25.ep7.el7
  • tomcat7-log4j-0:7.0.70-25.ep7.el6
  • tomcat7-log4j-0:7.0.70-25.ep7.el7
  • tomcat7-selinux-0:7.0.70-25.ep7.el6
  • tomcat7-selinux-0:7.0.70-25.ep7.el7
  • tomcat7-servlet-3.0-api-0:7.0.70-25.ep7.el6
  • tomcat7-servlet-3.0-api-0:7.0.70-25.ep7.el7
  • tomcat7-webapps-0:7.0.70-25.ep7.el6
  • tomcat7-webapps-0:7.0.70-25.ep7.el7
  • tomcat8-0:8.0.36-29.ep7.el6
  • tomcat8-0:8.0.36-29.ep7.el7
  • tomcat8-admin-webapps-0:8.0.36-29.ep7.el6
  • tomcat8-admin-webapps-0:8.0.36-29.ep7.el7
  • tomcat8-docs-webapp-0:8.0.36-29.ep7.el6
  • tomcat8-docs-webapp-0:8.0.36-29.ep7.el7
  • tomcat8-el-2.2-api-0:8.0.36-29.ep7.el6
  • tomcat8-el-2.2-api-0:8.0.36-29.ep7.el7
  • tomcat8-javadoc-0:8.0.36-29.ep7.el6
  • tomcat8-javadoc-0:8.0.36-29.ep7.el7
  • tomcat8-jsp-2.3-api-0:8.0.36-29.ep7.el6
  • tomcat8-jsp-2.3-api-0:8.0.36-29.ep7.el7
  • tomcat8-jsvc-0:8.0.36-29.ep7.el6
  • tomcat8-jsvc-0:8.0.36-29.ep7.el7
  • tomcat8-lib-0:8.0.36-29.ep7.el6
  • tomcat8-lib-0:8.0.36-29.ep7.el7
  • tomcat8-log4j-0:8.0.36-29.ep7.el6
  • tomcat8-log4j-0:8.0.36-29.ep7.el7
  • tomcat8-selinux-0:8.0.36-29.ep7.el6
  • tomcat8-selinux-0:8.0.36-29.ep7.el7
  • tomcat8-servlet-3.1-api-0:8.0.36-29.ep7.el6
  • tomcat8-servlet-3.1-api-0:8.0.36-29.ep7.el7
  • tomcat8-webapps-0:8.0.36-29.ep7.el6
  • tomcat8-webapps-0:8.0.36-29.ep7.el7
refmap via4
debian DSA-4118
mlist
  • [announce] 20180131 [SECURITY] CVE-2017-15698 Apache Tomcat Native Connector - OCSP check omitted
  • [debian-lts-announce] 20180211 [SECURITY] [DLA 1276-1] tomcat-native security update
  • [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/
sectrack 1040390
Last major update 25-03-2019 - 11:35
Published 31-01-2018 - 14:29
Last modified 25-03-2019 - 11:35
Back to Top