Rapid7 Vulnerability & Exploit Database

Firefox onreadystatechange Event DocumentViewerImpl Use After Free

Back to Search

Firefox onreadystatechange Event DocumentViewerImpl Use After Free

Disclosed
06/25/2013
Created
05/30/2018

Description

This module exploits a vulnerability found on Firefox 17.0.6, specifically a use after free of a DocumentViewerImpl object, triggered via a specially crafted web page using onreadystatechange events and the window.stop() API, as exploited in the wild on 2013 August to target Tor Browser users.

Author(s)

  • Nils
  • Unknown
  • w3bd3vil
  • sinn3r <sinn3r@metasploit.com>
  • juan vazquez <juan.vazquez@metasploit.com>

Platform

Windows

Development

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_firefox_onreadystatechange
msf exploit(mozilla_firefox_onreadystatechange) > show targets
    ...targets...
msf exploit(mozilla_firefox_onreadystatechange) > set TARGET < target-id >
msf exploit(mozilla_firefox_onreadystatechange) > show options
    ...show and set options...
msf exploit(mozilla_firefox_onreadystatechange) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;