Mozilla Firefox Cross Document DOM Node Moving Remote Code Execution Vulnerability

2010-04-05T00:00:00
ID ZDI-10-063
Type zdi
Reporter Nils of MWR InfoSecurity (http://twitter.com/MWRlabs)
Modified 2010-11-09T00:00:00

Description

This vulnerability allows remote attackers to bypass specific script execution enforcements on vulnerable installations of Mozilla Firefox. User interaction is required to exploit this vulnerability in that the target must visit a malicious page.

The specific flaw exists when moving DOM nodes in between documents with a specific timing while triggering garbage collection. If timed correctly Firefox will incorrectly reference a previously freed object which can be leveraged by an attacker to execute arbitrary code under the context of the current user.