Scripting Engine Security Feature Bypass Vulnerability (CVE-2017-8637)
A security feature bypass in Microsoft Edge's JIT compiler allows an attacker to bypass Arbitrary Code Guard (ACG). By itself it does not allow 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.
Originally disclosed on Microsoft
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 Arbitrary Code Guard (ACG) to be bypassed. By itself, this ACG bypass vulnerability does not allow arbitrary code execution. However, an attacker could use the ACG 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 ACG 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 ACG bypass vulnerability by helping to ensure that Microsoft Edge properly handles accessing memory in code compiled by the Edge JIT compiler.
Microsoft Scripting Engine
Microsoft Scripting Engine
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 mishandles memory access in the code it generates, allowing ACG to be bypassed.
Impact
The bypass alone does not allow code execution, but it could be chained with another vulnerability, such as a remote code execution flaw, to run arbitrary code on the target system.
What the attacker needed
Logged-on user; affected Microsoft Edge version; victim browses to malicious site
The fix
The security update addresses the issue by helping to ensure that Microsoft Edge properly handles accessing memory in code compiled by the Edge JIT compiler.
How it was found
- Log on to a system running an affected version of Microsoft Edge.
- 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.
Arbitrary Code Guard (ACG) is a Windows defence that stops programs from running code they create on the fly. This bug lets a malicious website slip past that defence in Microsoft Edge, but it does not by itself let the attacker run code. The attacker would need a second bug to actually take over the machine.
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.