Skip to content
Memory corruption Advisory Advanced CVE-2017-11874

Microsoft Edge Security Feature Bypass Vulnerability (CVE-2017-11874)

Microsoft Edge's JIT compiler accessed memory in a way that let Control Flow Guard be bypassed. On its own this does not give code execution, but an attacker could combine it with another vulnerability, such as a remote code execution flaw, to run arbitrary code on a target system.

Ivan Fratric Follow

Originally disclosed on Microsoft

High 3.1 View original

Description

A security feature bypass vulnerability exists in Microsoft Edge as a result of how memory is accessed in code compiled by the Edge Just-In-Time (JIT) compiler that allows Control Flow Guard (CFG) to be bypassed. By itself, this CFG bypass vulnerability does not allow arbitrary code execution. However, an attacker could use the CFG bypass vulnerability in conjunction with another vulnerability, such as a remote code execution vulnerability, to run arbitrary code on a target system. To exploit the CFG bypass vulnerability, a user must be logged on and running an affected version of Microsoft Edge. The user would then need to browse to a malicious website. The security update addresses the CFG bypass vulnerability by helping to ensure that Microsoft Edge properly handles accessing memory in code compiled by the Edge JIT compiler.

Microsoft Edge

Microsoft Edge

The original report as published on the Microsoft Security Response Center, by Ivan Fratric of Google Project Zero.. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the Edge JIT compiler generated code that accessed memory in a way that allowed Control Flow Guard to be bypassed.

Impact

The bypass alone does not allow arbitrary code execution, but combined with another vulnerability such as a remote code execution flaw it could let an attacker run arbitrary code on the target system.

What the attacker needed

Affected Edge version; user logged on; victim visits a malicious site; a second vulnerability to chain

The fix

The security update was said to fix it by helping to ensure Edge properly handles accessing memory in code compiled by the Edge JIT compiler.

How it was found

  1. Be logged on and running an affected version of Microsoft Edge.
  2. Browse to a malicious website.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Control Flow Guard is a Windows defence that checks that a program jumps only to places it is supposed to. This bug let an attacker get around that check in Microsoft Edge, the browser. Getting around the check alone does not let them run their own code, but it makes a second, separate bug much easier to exploit.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.