Skip to content
Memory corruption Advisory Advanced CVE-2018-0943

Chakra Scripting Engine Memory Corruption Vulnerability (CVE-2018-0943)

The Chakra scripting engine in Microsoft Edge mishandled objects in memory, allowing memory corruption. An attacker could run a crafted website and, if a user visited it, execute arbitrary code with the user's rights.

Lucas Pinheiro - Windows Follow

Originally disclosed on Microsoft

Critical 4.2 View original

Description

A remote code execution vulnerability exists in the way that the Chakra scripting engine handles objects in memory in Microsoft Edge (HTML-based). 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. In a web-based attack scenario, an attacker could host a specially crafted website that is designed to exploit the vulnerability through Microsoft Edge (HTML-based) and then convince a user to view the website. The attacker could also take advantage of compromised websites and websites that accept or host user-provided content or advertisements. These websites could contain specially crafted content that could exploit the vulnerability. The security update addresses the vulnerability by modifying how the Chakra scripting engine handles objects in memory.

Microsoft Scripting Engine

Microsoft Scripting Engine

The original report as published on the Microsoft Security Response Center, by Lucas Pinheiro - Windows & Devices Group - Operating System Security Team. 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 a memory-safety flaw in how the Chakra scripting engine handles objects in memory, though the text does not describe the specific coding mistake.

Impact

An attacker could execute arbitrary code with the victim's rights, potentially taking control of the system if the user has administrative rights.

What the attacker needed

Victim uses Microsoft Edge; victim visits attacker 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 web browser contains a component that runs scripts on web pages. A mistake in how that component managed memory meant a malicious page could confuse it and make it run the attacker's own code. The attacker would need the victim to open a page they control, and the damage is limited to whatever rights the victim's account has.

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 by Lucas Pinheiro - Windows

View all

2 more disclosed reports, best first.

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.