Vulnerability & Exploit Database

Back to search

Firefox Proxy Prototype Privileged Javascript Injection

This exploit gains remote code execution on Firefox 31-34 by abusing a bug in the XPConnect component and gaining a reference to the privileged chrome:// window. This exploit requires the user to click anywhere on the page to trigger the vulnerability.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • joev <joev [at]>



  • Universal (Javascript XPCOM Shell)
  • Native Payload


  • firefox
  • java
  • linux
  • osx
  • solaris
  • windows


  • firefox
  • x86, x86_64, x64, mips, mipsle, mipsbe, mips64, mips64le, ppc, ppce500v2, ppc64, ppc64le, cbea, cbea64, sparc, sparc64, armle, armbe, aarch64, cmd, php, tty, java, ruby, dalvik, python, nodejs, firefox, zarch, r



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

Related Vulnerabilities

Related Modules