Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Web Browser)  >   Mozilla Firefox Vendors:
Mozilla Firefox subjectAltName:dNSName Attribute Validation Flaw Lets Remote Users Spoof Certificates
SecurityTracker Alert ID:  1018979
SecurityTracker URL:
CVE Reference:   CVE-2007-6590   (Links to External Site)
Updated:  Jan 4 2008
Original Entry Date:  Nov 19 2007
Impact:   Modification of authentication information
Exploit Included:  Yes  
Version(s): and prior versions
Description:   A vulnerability was reported in Mozilla Firefox. A remote user can spoof certificates using domain wildcards.

A remote user can create a certificate with a specially crafted 'subjectAltName:dNSName' attribute that uses wildcard patterns in the attribute value. If the target user accepts the certificate as valid (when presented with the unknown Certificate Authority warning), the browser will consider the certificate to be valid for the hostnames specified in the 'subjectAltName:dNSName' attributes.

Nils Toedtmann reported this vulnerability.

The original advisory is available at:

Impact:   A remote user can spoof certificates in certain cases.
Solution:   No solution was available at the time of this entry.
Vendor URL: (Links to External Site)
Cause:   Authentication error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

Subject:  [Full-disclosure] Certificate spoofing issue with Mozilla, Konqueror,

Moin *

Mozilla based browsers (Firefox, Netscape, ...), Konqueror and Safari 2
do not bind a user-approved webserver certificate to the originating
domain name. This makes the user vulnerable to certificate spoofing by
"subjectAltName:dNSName" extensions. 

I set up a demonstration at <>, check it out. For
details (vulnerable versions, vendor status, bug ids ...) see 


Attack scenario:

(1) Assumed a phisher could redirect a user's browser to his prepared
    https webserver spoofing "" (by DNS spoofing or domain
    hijacking or other MITM attack). But the user's browser would raise
    an "unknown CA" warning because the phisher does not have a
    certificate for "" issued by a browser-trusted CA
    (that's what X.509 and TLS is all about!). Thus, the phisher defers
    this step.

(2) The phisher creates another website "" (not spoofed)
    and a home brewed X.509 cert:


    and lures the user to The user gets an
    "unknown CA" warning, but the "subjectAltName:dNSName" extensions
    are not shown to him, so the cert looks ok. As he does not plan to
    enter any private information, he accepts it (temporarily or
    permanently) and proceeds.

(3) Any time later (if the cert got accepted temporarily this has to
    happen within the same session), the phisher lures the user to his
    spoofed, using the very same self-signed
    certificate - NO WARNING!

In the end, the cert warning and the spoofing attempt get separated into
two events which appear to the user as being unrelated. I consider this
a severe cert-spoofing issue, aggravated by the fact that affected
browsers also match any hostname with "subjectAltName:dNSName=*".

For Mozilla, this issue is known for more than three years without being

Regards, /nils.

Full-Disclosure - We believe in it.
Hosted and sponsored by Secunia -


Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2022, LLC