TippingPoint Zero Day Initiative
 

Mozilla Firefox nsTreeSelection Dangling Pointer Remote Code Execution Vulnerability

ZDI-10-131: July 20th, 2010

CVE ID

CVSS Score

Affected Vendors

Affected Products

TippingPoint™ IPS Customer Protection

TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 10035. 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 specific flaw exists within the implementation of XUL <tree> element's "selection" attribute. There is an integer overflow when calculating the bounds of a new selection range. When calling adjustSelection on this manged range both ranges are deleted leaving a dangling reference. A remote attacker can exploit this vulnerability to 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-06-09 - Vulnerability reported to vendor
    2010-07-20 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    regenrecht