Scripting Engine Memory Corruption Vulnerability (CVE-2018-8456)
The ChakraCore scripting engine mishandled objects in memory, allowing memory corruption. An attacker could execute arbitrary code with the rights of the current user.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in the way that the ChakraCore scripting engine handles objects in memory. The vulnerability could corrupt memory in such a way that an attacker could execute arbitrary code in the context of the current user. An attacker who successfully exploited the vulnerability could gain the same user rights as the current user. If the current user is logged on with administrative user rights, an attacker who successfully exploited the vulnerability could take control of an affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. The security update addresses the vulnerability by modifying how the ChakraCore scripting engine handles objects in memory.
Microsoft Scripting Engine
Microsoft Scripting Engine
Issuing CNA
Microsoft
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 an object lifetime or type confusion error in how the ChakraCore engine handles objects in memory.
Impact
An attacker could execute arbitrary code with the current user's rights, and could take control of the system if those rights are administrative.
What the attacker needed
Victim visits a malicious web page
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.
A scripting engine is the part of a browser that runs JavaScript. Here it made a mistake when managing memory, so a malicious web page could make it run the attacker's code. That code would run with the same permissions as the person using the browser.
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.