1. CVE archive
  2. 2017
  3. CVE-2017-15698

CVE-2017-15698

5.9 Medium severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N 5.9 – Medium

Description

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.

Affected products

VendorProductVersionPlatform
apache tomcat native >= 1.1.23 <= 1.1.34 –
apache tomcat native >= 1.2.0 <= 1.2.14 –
debian debian linux 8.0 –
debian debian linux 9.0 –
All 8 Apache Tomcat Native vulnerabilities

Vulnerability type

CWE-295 Improper Certificate Validation

The product does not validate, or incorrectly validates, a certificate.

Impact on systems

ScopeImpact
Integrity, Authentication Bypass Protection Mechanism, Gain Privileges or Assume Identity
When a certificate is invalid or malicious, it might allow an attacker to spoof a trusted entity by interfering in the communication path between the host and client. The product might connect to a malicious host while believing it is a trusted host, or the product might be deceived into accepting spoofed data that appears to originate from a trusted host.

How to prevent it

Architecture and Design · Implementation Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
Implementation If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.

All 1,816 CWE-295 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org