CVE-2009-2474: Weak Encryption
A method to bypass SSL certificate name vs. host name verification via NUL ('\0') character embedded in X509 certificate's CommonName or subjectAltName was presented at Black Hat USA 2009:
http://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike
References: ----------- [1] http://lists.manyfish.co.uk/pipermail/neon/2009-August/001044.html [2] http://lists.manyfish.co.uk/pipermail/neon/2009-August/001046.html
More information from Joe Orton about vulnerable Neon versions: ---------------------------------------------------------------
All versions of neon versions up to 0.28.5 inclusive are vulnerable to this issue, where neon is built with SSL support using OpenSSL.
All versions of neon older than 0.28.6 are affected, where linked against OpenSSL.
Versions of neon <= 0.28.5 linked against any version of GnuTLS (including >= 2.8.2) are still vulnerable to at least one type of embedded-NUL issue.
It is necessary to upgrade to neon 0.28.6 to fix the issue completely, if built against GnuTLS.
So far as this vulnerability affects neon, it is neither sufficient nor necessary to update to GnuTLS 2.8.2. (i.e. neon 0.28.6 will not be vulnerable if linked against older versions of GnuTLS).
Other sources
neon before 0.28.6, when OpenSSL or GnuTLS is used, does not properly handle a '\0' character in a domain name in the subject's Common Name (CN) field of an X.509 certificate, which allows man-in-the-middle attackers to spoof arbitrary SSL servers via a crafted certificate issued by a legitimate Certification Authority, a related issue to CVE-2009-2408.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
neonto a version that resolves this vulnerability.Fixed in 0.28.6 - Upgrade
Upgrade
GnuTLSto a version that resolves this vulnerability.Fixed in 2.8.2
Event History
Frequently Asked Questions
What is the severity of CVE-2009-2474?
CVE-2009-2474 is classified as a high severity vulnerability due to its potential for man-in-the-middle attacks.
How do I fix CVE-2009-2474?
To fix CVE-2009-2474, upgrade to neon version 0.28.6 or later, or apply any vendor-specific patches.
What systems are affected by CVE-2009-2474?
CVE-2009-2474 affects neon versions before 0.28.6 and impacted operating systems include various versions of macOS and Ubuntu, as well as Fedora.
What type of attack does CVE-2009-2474 enable?
CVE-2009-2474 allows man-in-the-middle attackers to spoof SSL servers using crafted certificates.
Is CVE-2009-2474 related to any specific libraries or protocols?
CVE-2009-2474 is related to improper handling of domain names in X.509 certificates when using OpenSSL or GnuTLS.