Skip to content
Access control Advisory Intermediate CVE-2024-38081

.NET, .NET Framework, and Visual Studio Elevation of Privilege Vulnerability (CVE-2024-38081)

A local privilege escalation flaw exists in .NET, .NET Framework, and Visual Studio. An attacker with low privileges who can get a local user to run the Visual Studio installer could gain SYSTEM privileges.

goodbyeselene Follow

Originally disclosed on Microsoft

High 7.3 View original

FAQ

What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.

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 a local user executes the Visual Studio installer

FAQ

According to the CVSS metric, privileges required is low (PR:L). What does that mean for this vulnerability? The attacker must have permissions to access the target domain environment to be able to exploit this vulnerability.

.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 the Visual Studio installer runs with elevated rights without properly checking who is invoking it or what it is allowed to do.

What the attacker needed

Low-privileged access to the target machine; local user runs the Visual Studio installer

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 local privilege escalation bug: someone who already has a low-level account on a machine can use it to become the all-powerful SYSTEM user. The catch is that a real user on that machine must run the Visual Studio installer, so the attacker cannot do it alone. SYSTEM is the highest local Windows account, which means full control of the computer.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.