Back to search

MS10-002 Microsoft Internet Explorer Object Memory Use-After-Free

This module exploits a vulnerability found in Internet Explorer's mshtml component. Due to the way IE handles objects in memory, it is possible to cause a pointer in CTableRowCellsCollectionCacheItem::GetNext to be used even after it gets freed, therefore allowing remote code execution under the context of the user. This particular vulnerability was also one of 2012's Pwn2Own challenges, and was later explained by Peter Vreugdenhil with exploitation details. Instead of Peter's method, this module uses heap spraying like the 99% to store a specially crafted memory layout before re-using the freed memory.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name

exploit/windows/browser/ms10_002_ie_object

Authors

  • Peter Vreugdenhil
  • juan vazquez <juan.vazquez [at] metasploit.com>
  • sinn3r <sinn3r [at] metasploit.com>

References

Targets

  • Automatic
  • IE 8 on Windows XP SP3
  • IE 8 on Windows 7 SP0

Platforms

  • windows

Reliability

Development

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_002_ie_object msf exploit(ms10_002_ie_object) > show targets ...targets... msf exploit(ms10_002_ie_object) > set TARGET <target-id> msf exploit(ms10_002_ie_object) > show options ...show and set options... msf exploit(ms10_002_ie_object) > exploit

Related Vulnerabilities