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

2015-08-31T00:00:00
ID ZDI-15-406
Type zdi
Reporter Ucha Gobejishvili
Modified 2015-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 usage of nsIPresShell. By manipulating a document's elements an attacker can force a dangling pointer to be reused after it has been freed. An attacker can leverage this vulnerability to execute code under the context of the current process.