Visual Studio Elevation of Privilege Vulnerability (CVE-2024-49044)
Visual Studio did not properly restrict what a malicious extension could do, so an authenticated attacker who published a crafted extension could gain the privileges of any user who opened a new project using it. Exploitation also required environment-specific information and preparation, and could interrupt performance.
Originally disclosed on Microsoft
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 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
According to the CVSS metric, 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
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 sufficiently isolate or restrict the privileges granted to an extension when a project used it.
Impact
An attacker could gain the privileges of the user who opened a project using the malicious extension, and could interrupt or reduce performance, though not fully deny service.
What the attacker needed
Attacker has an authenticated account; attacker gathers environment-specific information; victim creates a new project using the extension
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 an attacker could publish a bad extension, and if a user then used it in a new project, the add-on could act with that user's permissions. The attacker had to do some homework about the target first, and the user had to take an action for it to work.
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.