Rapid7 Vulnerability & Exploit Database

MS10-090 Microsoft Internet Explorer CSS SetUserClip Memory Corruption

Back to Search

MS10-090 Microsoft Internet Explorer CSS SetUserClip Memory Corruption



This module exploits a 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.


  • unknown
  • Yuange
  • Matteo Memelli
  • jduck <jduck@metasploit.com>




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/windows/browser/ms10_090_ie_css_clip
msf exploit(ms10_090_ie_css_clip) > show targets
msf exploit(ms10_090_ie_css_clip) > set TARGET < target-id >
msf exploit(ms10_090_ie_css_clip) > show options
    ...show and set options...
msf exploit(ms10_090_ie_css_clip) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security