module

Mozilla Firefox "nsTreeRange" Dangling Pointer Vulnerability

Disclosed
Feb 2, 2011
Created
May 30, 2018

Description

This module exploits a code execution vulnerability in Mozilla Firefox
3.6.x By overwriting a subfunction of invalidateSelection it is possible to free the
nsTreeRange object that the function currently operates on.
Any further operations on the freed object can result in remote code execution.
Utilizing the call setup the function provides it's possible to bypass DEP
without the need for a ROP. Sadly this exploit is still either dependent
on Java or bound by ASLR because Firefox doesn't employ any ASLR-free
modules anymore.

Authors

regenrecht
xero

Platform

Windows

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':


msf > use exploit/windows/browser/mozilla_nstreerange
msf exploit(mozilla_nstreerange) > show targets
...targets...
msf exploit(mozilla_nstreerange) > set TARGET < target-id >
msf exploit(mozilla_nstreerange) > show options
...show and set options...
msf exploit(mozilla_nstreerange) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.