Advisory Details

August 3rd, 2012

Mozilla Firefox nsHTMLSelectElement Remote Code Execution Vulnerability

ZDI-12-128
ZDI-CAN-1301

CVE ID CVE-2011-3671
CVSS SCORE 7.5, (AV:N/AC:L/Au:N/C:P/I:P/A:P)
AFFECTED VENDORS Mozilla
AFFECTED PRODUCTS Firefox
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 12460. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
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.

ADDITIONAL DETAILS Mozilla has issued an update to correct this vulnerability. More details can be found at:
https://bugzilla.mozilla.org/show_bug.cgi?id=335998
DISCLOSURE TIMELINE
  • 2011-12-07 - Vulnerability reported to vendor
  • 2012-08-03 - Coordinated public release of advisory
CREDIT regenrecht
BACK TO ADVISORIES