Internet Explorer CSS Recursive Import Use

This module exploits a memory corruption vulnerability within Microsoft’s HTML engine (mshtml). When parsing an HTML page containing a recursive CSS import, a C++ object is deleted and later reused. This leads to arbitrary code execution. This exploit utilizes a combination of heap spraying and the .NET 2.0 ‘mscorie.dll’ module to bypass DEP and ASLR. This module does not opt-in to ASLR. As such, this module should be reliable on all Windows versions with .NET 2.0.50727 installed.

Module Name



  • passerby
  • d0c_s4vage
  • jduck <jduck [at]>



  • Automatic
  • Internet Explorer 8
  • Internet Explorer 7
  • Internet Explorer 6
  • Debug Target (Crash)


  • windows

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/ms11_003_ie_css_import

msf exploit(ms11_003_ie_css_import) > show targets …targets…

msf exploit(ms11_003_ie_css_import) > set TARGET <target-id>

msf exploit(ms11_003_ie_css_import) > show options …show and set options…

msf exploit(ms11_003_ie_css_import) > exploit

Related Vulnerabilities