CVE-2009-2474: Weak Encryption

Published Aug 19, 2009
·
Updated

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

8 affected components
WebDAV neon<0.28.6
Apple iOS and macOS<10.6.5
Canonical Ubuntu Linux=6.06
Canonical Ubuntu Linux=9.04
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=8.10
Fedoraproject Fedora=11
Fedoraproject Fedora=10

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade neon to a version that resolves this vulnerability.

    Fixed in 0.28.6
  2. Upgrade

    Upgrade GnuTLS to a version that resolves this vulnerability.

    Fixed in 2.8.2

Event History

Aug 19, 2009
Data Sourced
via Red Hat·02:49 PM
DescriptionSeverityAffected Software
Aug 21, 2009
CVE Published
via MITRE·05:00 PM
Data Sourced
via MITRE·05:00 PM
Description
Data Sourced
05:30 PM
DescriptionWeaknessAffected Software
Data Sourced
via NVD·05:30 PM
DescriptionSeverityWeaknessAffected Software
May 22, 2020
Data Sourced
03:32 PM
Severity

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203