• Close
  • Back to search

    Mozilla Firefox Bootstrapped Addon Social Engineering Code Execution

    This exploit dynamically creates a .xpi addon file. The resulting bootstrapped Firefox addon is presented to the victim via a web page. The victim's Firefox browser will pop a dialog asking if they trust the addon. Once the user clicks "install", the addon is installed and executes the payload with full user permissions. As of Firefox 4, this will work without a restart as the addon is marked to be "bootstrapped". As the addon will execute the payload after each Firefox restart, an option can be given to automatically uninstall the addon once the payload has been executed.

    Free Metasploit Download

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

     Download Now

    Module Name



    • mihi
    • joev <joev [at] metasploit.com>



    • Universal (Javascript XPCOM Shell)
    • Native Payload


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


    • firefox
    • x86, x86_64, mips, mipsle, mipsbe, ppc, ppc64, cbea, cbea64, sparc, armle, armbe, cmd, php, tty, java, ruby, dalvik, python, nodejs, firefox, zarch



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