.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.
Originally disclosed on Microsoft
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
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.