Body Background
TrendAI™ Zero Day Initiative™ Logo

Mozilla Firefox obj_toSource Use-After-Free Remote Code Execution Vulnerability

March 22nd, 2013

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 obj_toSource function of jsobj.cpp. When crafting a javascript proxy object, an attacker can specially craft Handler methods to cause a use-after-free vulnerability. When the proxy object is successfully created, a call to the toSource function will lead to a dangling pointer condition. An attacker can leverage this vulnerability to execute code under the context of the running process.

Additional Details

Mozilla has issued an update to correct this vulnerability. More details can be found at:
https://www.mozilla.org/security/announce/2013/mfsa2013-19.html

Disclosure Timeline

  • 2012-11-21 - Vulnerability reported to vendor
  • 2013-03-22 - Coordinated public release of advisory

Credit

regenrecht

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.