SSL Certificate Null Character Spoofing Weakness

This script is Copyright (C) 2009-2012 Tenable Network Security, Inc.


Synopsis :

This plugin determines if the remote SSL certificate contains a Null
character.

Description :

The remote host contains an SSL certificate with a common name
containing a Null character (\x00) in it. This may indicate a
compromise or that a program such as SSLsniff is spoofing the
certificate in order to intercept the traffic via a Man-in-The-Middle
(MiTM) attack.

Certificates with such characters may exploit a bug contained in many
different web browser and other SSL-related products, in how they
validate the common name of such a certificate.

See also :

http://thoughtcrime.org/papers/null-prefix-attacks.pdf

Solution :

Recreate the remote SSL certificate.

Risk factor :

High / CVSS Base Score : 8.3
(CVSS2#AV:A/AC:L/Au:N/C:C/I:C/A:C)

Family: General

Nessus Plugin ID: 42053 ()

Bugtraq ID:

CVE ID: