TippingPoint Zero Day Initiative
 

Mozilla Firefox nsHTMLSelectElement Remote Code Execution Vulnerability

ZDI-12-128: August 3rd, 2012

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 12460. 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 nsINode::ReplaceOrInsertBefore() in content/base/src/nsGenericElement.cpp. A use-after-free condition can be triggered by adding an already parented option element to an option collection and then removing its associated select element during an event handler execution. Successful exploitation of this vulnerability will lead to code execution in the context of the browser.

Vendor Response

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

Disclosure Timeline

    2011-12-07 - Vulnerability reported to vendor
    2012-08-03 - Coordinated public release of advisory

Credit

This vulnerability was discovered by:
    regenrecht