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

VBScript Remote Code Execution Vulnerability (CVE-2020-1093)

The VBScript engine mishandled objects in memory, which could corrupt memory and let an attacker run arbitrary code with the current user's rights. A victim would have to open a crafted website or document in Internet Explorer for the exploit to work.

Yuki Chen Follow

Originally disclosed on Microsoft

Medium 7.5 View original

Description

A remote code execution vulnerability exists in the way that the VBScript 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. In a web-based attack scenario, an attacker could host a specially crafted website that is designed to exploit the vulnerability through Internet Explorer and then convince a user to view the website. An attacker could also embed an ActiveX control marked "safe for initialization" in an application or Microsoft Office document that hosts the IE rendering engine. 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 scripting engine handles objects in memory.

Internet Explorer

Internet Explorer

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Yuki Chen of Qihoo 360 Vulcan 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 the VBScript engine mishandled objects in memory, leading to memory corruption.

Impact

An attacker could execute arbitrary code with the victim's rights, and if the victim is an administrator, could take control of the system, though the exploit requires the victim to view a crafted website or document in Internet Explorer.

What the attacker needed

Victim uses Internet Explorer; victim views a crafted website or document

The fix

The vulnerability was fixed by a security update that changed how the 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.

VBScript is an old scripting language that Internet Explorer can run. A memory corruption bug means the program loses track of its own data, and a clever attacker can use that confusion to make the computer run the attacker's own instructions. Here the attacker needs the victim to visit a malicious page or open a malicious document, and the attacker then gets the same powers as that victim.

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 Yuki Chen

View all

93 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.