CVE-2009-2702: High severity red hat kdelibs vulnerability

Published Sep 1, 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

Similar issues affects kdelibs' kssl. Problem only exists in handling of subjectAltNames, CommonNames with embedded NUL chars are handled correctly.

According to Thiago Macieira (maintainer of KDE's and Qt's SSL code), kssl is no longer used in current KDE4 versions, Qt's SSL code is used instead (which is affected by similar problem, see bug #520435).

Problem affects kdelibs 3.5.4 shipped in Red Hat Enterprise Linux 5. Versions in Red Hat Enterprise Linux 4 (3.3.1) and Red Hat Enterprise Linux 3 (3.1.3) are not affected, as they do not support subjectAltNames at all.

Unlike Qt, kssl is not prone to creation of universal MITM certificate (\0.whatever.com), as matching of '' wild card is limited to single host name component.

Other sources

KDE KSSL in kdelibs 3.5.4, 4.2.4, and 4.3 does not properly handle a '\0' character in a domain name in the Subject Alternative Name 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.

Red Hat

Affected Software

3 affected components
KDE kdelibs=4.2.4
KDE kdelibs=4.3
KDE kdelibs=3.5.4

Event History

Sep 1, 2009
CVE Published
via Red Hat·12:00 AM
Data Sourced
via Red Hat·12:00 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via Red Hat·04:49 PM
Affected Software
Sep 8, 2009
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2009-2702?

CVE-2009-2702 is rated as a medium severity vulnerability due to its potential to allow man-in-the-middle attacks.

2

How do I fix CVE-2009-2702?

To fix CVE-2009-2702, upgrade kdelibs to version 4.3 or later.

3

Which versions of kdelibs are affected by CVE-2009-2702?

CVE-2009-2702 affects kdelibs versions 3.5.4, 4.2.4, and 4.3.

4

What type of attack does CVE-2009-2702 allow?

CVE-2009-2702 allows man-in-the-middle attackers to spoof arbitrary SSL servers.

5

What does CVE-2009-2702 exploit in X.509 certificates?

CVE-2009-2702 exploits improper handling of a '\0' character in the Subject Alternative Name field of X.509 certificates.

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