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

2013-03-22T00:00:00
ID ZDI-13-039
Type zdi
Reporter regenrecht
Modified 2013-11-09T00:00:00

Description

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 processing of ListenerManager event listeners. A dangling pointer can be created if a listener frees another listener. By abusing this behavior an attacker can ensure this memory is under control and leverage the situation to achieve remote code execution under the context of the user running the browser.