First published: Tue Sep 01 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: <a href="http://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike">http://www.blackhat.com/html/bh-usa-09/bh-usa-09-archives.html#Marlinspike</a> 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 <a class="bz_bug_link bz_status_CLOSED bz_closed bz_public " title="CLOSED ERRATA - CVE-2009-2700 Qt: QSslCertificate incorrect verification of SSL certificate with NUL in subjectAltName" href="show_bug.cgi?id=520435">bug #520435</a>). 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.
Affected Software | Affected Version | How to fix |
---|---|---|
KDE kdelibs3 | ||
Red Hat Enterprise Linux | >5<=5 | |
Qt |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-520661 is high due to the potential for SSL certificate validation bypass.
To mitigate REDHAT-BUG-520661, ensure that your software is updated to the latest stable version with security patches applied.
REDHAT-BUG-520661 affects KDE kdelibs, Red Hat Enterprise Linux versions prior to 5, and Qt.
REDHAT-BUG-520661 exploits a method for bypassing SSL certificate name verification using a NUL character.
The vulnerability REDHAT-BUG-520661 was first presented at Black Hat USA 2009.