TippingPoint Zero Day Initiative

Mozilla Firefox JSON.stringify Dangling Pointer Remote Code Execution Vulnerability

ZDI-11-103: March 2nd, 2011


CVSS Score

Affected Vendors

Affected Products

TippingPoint™ IPS Customer Protection

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

Vulnerability Details

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

The specific flaw exists within js3250.dll. In the JSON.stringify() call chain js_HasOwnProperty() is called with an invalid pointer. The pointer becomes invalid due to being unrooted and garbage collection occurring. Dereferecing of this pointer allows a remote attacker to execute arbitrary code in the context of the user running the browser.

Vendor Response

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

Disclosure Timeline

    2010-12-01 - Vulnerability reported to vendor
    2011-03-02 - Coordinated public release of advisory


This vulnerability was discovered by: