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

Visual Studio Remote Code Execution Vulnerability (CVE-2020-16874)

Visual Studio improperly handles objects in memory, allowing an attacker to run arbitrary code in the context of the current user. The attacker must convince a user to open a specially crafted file with an affected version of Visual Studio.

Anonymous working with Trend Micro's Zero Day Initiative Follow

Originally disclosed on Microsoft

Critical 7.8 View original

Description

A remote code execution vulnerability exists in Visual Studio when it improperly handles objects in memory. An attacker who successfully exploited the vulnerability could run arbitrary code in the context of the current user. If the current user is logged on with administrative user rights, an attacker could take control of the affected system. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. Users whose accounts are configured to have fewer user rights on the system could be less impacted than users who operate with administrative user rights. To exploit the vulnerability, an attacker would have to convince a user to open a specially crafted file with an affected version of Visual Studio. The update addresses the vulnerability by correcting how Visual Studio handles objects in memory.

Visual Studio

Visual Studio

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Anonymous working with Trend Micro's Zero Day Initiative. 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 flaw caused by improper handling of objects in memory.

Impact

An attacker could run arbitrary code as the current user, and if that user has administrative rights, could take control of the system.

What the attacker needed

Victim opens a specially crafted file; affected version of Visual Studio

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 memory corruption bug in Visual Studio. If a user opens a malicious file, the attacker can run their own code with the same permissions as that user. It requires tricking someone into opening the file.

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 Anonymous working with Trend Micro's Zero Day Initiative

View all

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