CURL-CVE-2009-2417

vendorUSosv

embedded zero in cert name

view advisory published 2009-08-12Licence: per source

SSL and TLS Server certificates contain one or more fields with server name or otherwise matching patterns. These strings are stored as content and length within the certificate, and thus there is no particular terminating character. curl's OpenSSL interfacing code did faulty assumptions about those names and patterns being null-terminated, allowing itself to be fooled in case a certificate would get a zero byte embedded into one of the name fields. To illustrate, a name that would show this vulnerability could look like: "example.com\0.haxx.se" This cert is thus made for "haxx.se" but curl would erroneously verify it with no complaints for "example.com". According to a recently published presentation, this kind of zero embedding has been proven to be possible with at least one CA.

01

describes (1)

Related CVEs.

IDseverity exploitable
CVE-2009-2417UShigh7.5—
lib/ssluse.c in cURL and libcurl 7.4 through 7.19.5, when OpenSSL is used, does not properly handle a '\0' character in a domain name in the subject's Common Name (CN) field of an…
scry

Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.

Free scan