Advisory Details

May 30th, 2013

Microsoft Internet Explorer CDOMTextNode Use-After-Free Remote Code Execution Vulnerability

ZDI-13-103
ZDI-CAN-1778

CVE ID CVE-2013-1312
CVSS SCORE 7.5, (AV:N/AC:L/Au:N/C:P/I:P/A:P)
AFFECTED VENDORS Microsoft
AFFECTED PRODUCTS Internet Explorer
TREND MICRO CUSTOMER PROTECTION Trend Micro TippingPoint IPS customers are protected against this vulnerability by Digital Vaccine protection filter ID 12928. For further product information on the TippingPoint IPS: http://www.tippingpoint.com
VULNERABILITY DETAILS


This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Microsoft Internet Explorer. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw is due to the way mshtml handles a CDOMTextNode. When using a selection to get focusNode, the process can be made to create a CDOMTextNode and later delete this CDOMTextNode resulting in a dangling pointer. The process can be later forced to reuse this pointer resulting in a use-after-free condition. An attacker can leverage this situation to execute code under the context of the user running the browser.

ADDITIONAL DETAILS Microsoft has issued an update to correct this vulnerability. More details can be found at:
https://technet.microsoft.com/en-us/security/bulletin/ms13-037
DISCLOSURE TIMELINE
  • 2013-02-22 - Vulnerability reported to vendor
  • 2013-05-30 - Coordinated public release of advisory
CREDIT Stephen Fewer of Harmony Security (www.harmonysecurity.com)
BACK TO ADVISORIES