Microsoft Edge Can Be Pwned!

Edge vs. ChromeAnother reason I am sticking with Chrome!

Windows 10 security: Google exposes how malicious sites can exploit Microsoft Edge

ZDNet – By: Liam Tung – “Google’s Project Zero team has published details of an unfixed bypass for an important exploit-mitigation technique in Edge.

The mitigation, Arbitrary Code Guard (ACG), arrived in the Windows 10 Creators Update to help thwart web attacks that attempt to load malicious code into memory. The defense ensures that only properly signed code can be mapped into memory.

However, as Microsoft explains, Just-in-Time (JIT) compilers used in modern web browsers create a problem for ACG. JIT compilers transform JavaScript into native code, some of which is unsigned and runs in a content process.

To ensure JIT compilers work with ACG enabled, Microsoft put Edge’s JIT compiling in a separate process that runs in its own isolated sandbox. Microsoft said this move was ‘a non-trivial engineering task’.

‘The JIT process is responsible for compiling JavaScript to native code and mapping it into the requesting content process. In this way, the content process itself is never allowed to directly map or modify its own JIT code pages,’ Microsoft says.

Google’s Project Zero found an issue is created by the way the JIT process writes executable data into the content process.

Its ‘ACG bypass using UnmapViewofFile’ allows a compromised content process to predict which address a JIT process is going to call VirtualAllocEx() next, and for the content process to ‘allocate a writable memory region on the same address JIT server is going to write and write an soon-to-be-executable payload there’.

Google reported the medium-severity issue to Microsoft in mid-November and published details of the bypass yesterday as it had passed its 90-day deadline.

Microsoft confirmed the ACG bypass in a response to Google at some point to February’s Patch Tuesday. It appeared to have been aiming to fix the issue by then but found it to be ‘more complex’ than initially thought. It’s now targeting Patch Tuesday in March for a fix.

‘The fix is more complex than initially anticipated, and it is very likely that we will not be able to meet the February release deadline due to these memory management issues,’ Microsoft said.

‘The team IS positive that this will be ready to ship on March 13, however this is beyond the 90-day SLA and 14-day grace period to align with Update Tuesdays.'”

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.