TippingPoint Zero Day Initiative

Mozilla Firefox normalizeDocument Remote Code Execution Vulnerability

ZDI-10-176: September 13th, 2010


CVSS Score

Affected Vendors

Affected Products

TippingPoint™ IPS Customer Protection

TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 10463. For further product information on the TippingPoint IPS:

Vulnerability Details

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Mozilla Firefox. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The flaw exists within the normalizeDocument function defined within nsDocument.cpp. When handling children nodes the code does not account for a varying number of children during normalization. An attacker can abuse this problem along with the fact that the code does not validate the child index is within bounds to access an invalid object and execute arbitrary code under the context of the browser.

Vendor Response

Mozilla Firefox has issued an update to correct this vulnerability. More details can be found at:

Disclosure Timeline

    2010-07-20 - Vulnerability reported to vendor
    2010-09-13 - Coordinated public release of advisory


This vulnerability was discovered by: