Bug 518223 (CVE-2009-2474) - CVE-2009-2474 neon: Improper verification of x509v3 certificate with NULL (zero) byte in certain fields
Summary: CVE-2009-2474 neon: Improper verification of x509v3 certificate with NULL (ze...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2009-2474
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://lists.manyfish.co.uk/pipermail...
Whiteboard:
Depends On: 521786 521787 521788 521789 795936
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-19 14:49 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:31 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-06-21 07:32:53 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2009:1452 0 normal SHIPPED_LIVE Moderate: neon security update 2009-09-21 15:19:06 UTC

Description Jan Lieskovsky 2009-08-19 14:49:13 UTC
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).

Comment 2 Jan Lieskovsky 2009-08-22 08:29:28 UTC
MITRE's CVE-2009-2474 record:
-----------------------------

neon before 0.28.6, 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 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.

References:
-----------
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2474
http://lists.manyfish.co.uk/pipermail/neon/2009-August/001046.html
http://lists.manyfish.co.uk/pipermail/neon/2009-August/001044.html
https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00924.html
https://www.redhat.com/archives/fedora-package-announce/2009-August/msg00945.html
http://secunia.com/advisories/36371

Comment 4 errata-xmlrpc 2009-09-21 15:19:16 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5
  Red Hat Enterprise Linux 4

Via RHSA-2009:1452 https://rhn.redhat.com/errata/RHSA-2009-1452.html


Note You need to log in before you can comment on or make changes to this bug.