CURL-CVE-2016-9952
Dashboard / Vulnerabilities / CURL-CVE-2016-9952
Summary: Win CE Schannel cert wildcard matches too much
Details: curl's TLS server certificate checks are flawed on Windows CE. This vulnerability occurs in the verify certificate function when comparing a wildcard certificate name (as returned by the Windows API function `CertGetNameString)` to the hostname used to make the connection to the server. The vulnerability can be triggered with an overly permissive wildcard SAN in the server certificate such as a DNS name of `*.com`. When the function compares the cert name to the connection hostname, the wildcard character is removed from the cert name and the connection hostname is checked to see if it ends with the modified cert name. This means a hostname of example.com would match a DNS SAN of `*.com`, among other variations. This approach violates recommendations in RFC 6125 and could lead to MITM attacks.
References:
Affected packages
Package
Name:
Purl:
Affected ranges
Type: SEMVER
Events:
