Scripting Engine Security Feature Bypass Vulnerability (CVE-2018-0818)
A security feature bypass in the Microsoft Chakra scripting engine allows Control Flow Guard (CFG) to be bypassed. An attacker could combine this 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 the Microsoft Chakra scripting engine that allows Control Flow Guard (CFG) to be bypassed. By itself, the 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 to the Microsoft Chakra scripting engine and running it. The user would then need to browse to a malicious website. The security update addresses the CFG bypass vulnerability by helping to ensure that the Microsoft Chakra scripting engine properly handles accessing memory.
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 Chakra scripting engine does not properly handle memory access, which allows CFG to be bypassed.
Impact
By itself, the CFG bypass does not allow arbitrary code execution, but an attacker could use it with another vulnerability, such as a remote code execution vulnerability, to run arbitrary code on a target system.
What the attacker needed
User logged on and running Chakra; user browses to a malicious website
How it was found
- Log on to the system and run the Microsoft Chakra scripting engine.
- 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 (CFG) is a security feature in Windows that tries to stop attackers from redirecting a program's execution to malicious code. This report says the Chakra scripting engine (used by the Edge browser) has a flaw that lets an attacker get around CFG. On its own, that does not let them run code, but if they also have another bug that lets them run code, CFG would normally block it; this bypass removes that block.
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.