Rapid7 Vulnerability & Exploit Database

MS14-012 Microsoft Internet Explorer TextRange Use-After-Free

Back to Search

MS14-012 Microsoft Internet Explorer TextRange Use-After-Free



This module exploits a use-after-free vulnerability found in Internet Explorer. The flaw was most likely introduced in 2013, therefore only certain builds of MSHTML are affected. In our testing with IE9, these vulnerable builds appear to be between 9.0.8112.16496 and 9.0.8112.16533, which implies the vulnerability shipped between August 2013, when it was introduced, until the fix issued in early March 2014.


  • Jason Kratzer
  • sinn3r <sinn3r@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/ms14_012_textrange
msf exploit(ms14_012_textrange) > show targets
msf exploit(ms14_012_textrange) > set TARGET < target-id >
msf exploit(ms14_012_textrange) > show options
    ...show and set options...
msf exploit(ms14_012_textrange) > 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