Skip to content
RCE Advisory Advanced CVE-2023-21808

.NET and Visual Studio Remote Code Execution Vulnerability (CVE-2023-21808)

A vulnerability existed in .NET and Visual Studio related to how symbols are read and parsed, allowing an attacker to achieve arbitrary code execution. The attack is carried out locally, meaning the attacker or victim must execute code from the local machine to exploit it.

goodbyeselene Follow

Originally disclosed on Microsoft

Critical 8.4 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 metrics, there are multiple scores. Why does the CVE have different scores and different severities for different products? There are different scores depending on the product due to the way symbols are read and parsed. Visual Studio has the ability to automatically query symbol servers while .NET only uses symbols present on the disk, requiring the user to manually query the symbol.

.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

Root cause

Likely a flaw in how .NET and Visual Studio read and parse symbol files, which can be abused to run arbitrary code.

Impact

An attacker who can run code locally could exploit the flaw to execute arbitrary code, though the text does not describe the full consequences.

What the attacker needed

Attacker or victim runs code locally

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's .NET software and Visual Studio development tool. It lets someone run their own code on a machine, but only if they can already run something on that machine first, so it is not something a stranger can trigger over the internet. The flaw is in the way the software reads and interprets 'symbols', which are files that help developers debug programs.

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.