rapid7/metasploit-framework — pull request #646 by jvazquez-r7 (2012-07-26 11:12:53+00:00)
Title: Added module for CVE-2012-0284

Tested successfully on:

* Windows XP SP3: ie6, ie7, ie8 (dep bypass)
* Windows Vista SP2: ie7

On Windows XP SP3 / IE8, heap spray has been avoided because it is stackpivoting to the stack, where the rop chain is stored, so payload has been stored in the stack too. A fresh install of IE8 has been used to exploit. Note that other plugins and/or activex's could do the vulnerable ActiveX to rebase, which would do the exploit to fail. As a sample, while testing, if flashplayer plugin is loaded before the vulnerable activex, the last one is rebased and exploit fails.