Microsoft Edge Chakra JIT Use-After-Free / Flag Issue

Discussion in 'News Aggregator' started by Packet Storm, 18 Jan 2019.

  1. Packet Storm

    Packet Storm Guest

    In Microsoft Edge, the JsBuiltInEngineInterfaceExtensionObject::InjectJsBuiltInLibraryCode method is used to execute JsBuiltIn.js which initializes some builtin objects. Because it is essentially written in JavaScript, it needs to clear the disable-implicit-call flag before calling the JavaScript code, otherwise it might not work properly. The problem is, it does not restore the previous status of the flag after the call. As setting the flag can prevent stack-allocated objects from leaking, this clearing-the-flag bug can lead to a stack-based use-after-free.

    Continue reading...
     

Share This Page

Loading...