| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
[Security Adviosory] libcurl embedded zero in cert name
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 12 Aug 2009 11:12:55 +0200 (CEST)
libcurl embedded zero in cert name
Project cURL Security Advisory, August 12th 2009
1. VULNERABILITY
SSL and TLS Server certificates contain one or more fields with server name
curl's OpenSSL interfacing code did faulty assumptions about those names and
"example.com\0.haxx.se"
This cert is thus made for "haxx.se" but curl would erroneously verify it
According to a recently published presentation, this kind of zero embedding
The Common Vulnerabilities and Exposures (CVE) project has assigned the name
2. AFFECTED VERSIONS
Affected versions: curl and libcurl 7.4 to and including 7.19.5
This vulnerability is only present in OpenSSL-specific parts of the code.
Also note that (lib)curl is used by many applications, and not always
We have not researched curl versions earlier than 7.4 but we estimate that
3. THE SOLUTION
libcurl 7.19.6 makes sure that the length from the cert is used for
4. RECOMMENDATIONS
We suggest you take one of the following actions immediately, in order of
A - Upgrade to curl and libcurl 7.19.6
B - Apply the suitable patch and rebuild
http://curl.haxx.se/CVE-2009-2417/curl-7.19.5-CVE-2009-2417.patch
C - Rebuild curl with a safe version of GnuTLS or NSS
Note that both GnuTLS and NSS also suffered from this same vulnerability
5. TIME LINE
We were notified by Scott Cantor on July 30th, 2009.
We discussed solutions and a first patch was written and tested on July
Vendor-sec was contacted on August 3, 2009.
We agreed on and coordinated the synchronous disclosure of this problem
curl 7.19.6 was released on August 12th 2009, just before this flaw was
6. CREDITS
Reported to us by Scott Cantor. Thanks a lot!
Daniel Stenberg wrote the primary patch and this advisory
Peter Sylvester for test case work and patch feedback
Michal Marek and Kamil Dudka provided the backported patches
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-08-12 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info