Skip to content
RCE Advisory Intermediate CVE-2023-36796

Visual Studio Remote Code Execution Vulnerability (CVE-2023-36796)

A vulnerability in Visual Studio allows an attacker to execute arbitrary code if a user opens a maliciously crafted package file. The attacker must convince the user to open the file, and the attack is carried out locally.

goodbyeselene Follow

Originally disclosed on Microsoft

Critical 7.8 View original

FAQ

According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability.

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of this vulnerability requires that an attacker convinces a user to open a maliciously crafted package file in Visual Studio.

.NET and Visual Studio

.NET and Visual Studio

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by goodbyeselene. 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

Impact

An attacker could execute arbitrary code on the victim's machine, but only if the user opens a malicious package file.

What the attacker needed

Victim opens a malicious package file; attacker convinces user to open the file

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 security flaw in Microsoft Visual Studio, a program used to write code. If a user opens a specially made file, an attacker could run harmful code on that user's computer. The attacker cannot do this remotely over the internet; they need the user to open the file on their own machine.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by goodbyeselene

View all

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

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.