Skip to content
Access control Advisory Advanced CVE-2024-29060

Visual Studio Elevation of Privilege Vulnerability (CVE-2024-29060)

Visual Studio did not properly separate privileges when loading extensions, so an authenticated attacker could craft a malicious extension and wait for another user to open a project that uses it. Successful exploitation could let the attacker gain the victim's privileges, up to administrator level.

Filip Dragovic Follow

Originally disclosed on Microsoft

High 6.7 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R) and privileges required is Low (PR:L). What does that mean for this vulnerability? An authenticated attacker could create a malicious extension and then wait for an authenticated user to create a new Visual Studio project that uses that extension. The result is that the attacker could gain the privileges of the user.

FAQ

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

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to gather information specific to the environment and take additional actions prior to exploitation to prepare the target environment.

FAQ

According to the CVSS metrics, successful exploitation of this vulnerability could lead to some loss of availability (A:L)? What does that mean for this vulnerability? The performance can be interrupted and/or reduced, but the attacker cannot fully deny service.

Visual Studio

Visual Studio

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Filip Dragović. 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 extension loading mechanism did not properly isolate or validate extension privileges, allowing a crafted extension to run with the victim user's rights.

Impact

An attacker could gain the privileges of the user who opens the project, potentially including administrator privileges, with some limited loss of availability; the text does not describe any defence that blocked it.

What the attacker needed

Authenticated attacker; victim opens a project using the extension; attacker gathers environment details

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.

Visual Studio is a program for writing code, and it can be extended with add-ons called extensions. This report says the program did not check extensions carefully enough, so a bad extension could act with the same power as the person who opened the project. That means a tricked user could unknowingly give an attacker control at their own level, possibly as an administrator.

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 Filip Dragovic

View all

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