Rapid7 Vulnerability & Exploit Database

Firefox 3.5 escape() Return Value Memory Corruption

Back to Search

Firefox 3.5 escape() Return Value Memory Corruption



This module exploits a memory corruption vulnerability in the Mozilla Firefox browser. This flaw occurs when a bug in the javascript interpreter fails to preserve the return value of the escape() function and results in uninitialized memory being used instead. This module has only been tested on Windows, but should work on other platforms as well with the current targets.


  • Simon Berry-Byrne <x00050876@itnet.ie>
  • hdm <x@hdm.io>




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/multi/browser/firefox_escape_retval
msf exploit(firefox_escape_retval) > show targets
msf exploit(firefox_escape_retval) > set TARGET < target-id >
msf exploit(firefox_escape_retval) > show options
    ...show and set options...
msf exploit(firefox_escape_retval) > 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