Skip to content
Memory corruption Advisory Advanced CVE-2020-0829

Scripting Engine Memory Corruption Vulnerability (CVE-2020-0829)

A memory corruption flaw in the ChakraCore scripting engine could allow an attacker to execute arbitrary code with the same rights as the current user. If the user has administrative rights, the attacker could take control of the system.

09b97c9cb4ff868868ae42c3ecacff9c via Tianfu Cup 2019 Follow

Originally disclosed on Microsoft

Critical 4.2 View original

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

The original report as published on the Microsoft Security Response Center, by 09b97c9cb4ff868868ae42c3ecacff9c via Tianfu Cup 2019. 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 corruption bug in how the ChakraCore scripting engine handles objects in memory.

Impact

An attacker could execute arbitrary code with the same rights as the current user, potentially taking control of the system if the user has administrative rights.

What the attacker needed

Victim runs malicious script

The fix

The security update addresses the vulnerability by modifying how the ChakraCore scripting engine handles objects in memory.

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.

This is a bug in a JavaScript engine (the part of a browser that runs scripts). It mishandles memory, so a malicious script could run harmful code on your computer. The risk is higher if you are logged in as an administrator.

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.