Microsoft Visual Studio Elevation of Privilege Vulnerability (CVE-2020-0899)
The Microsoft Visual Studio updater service improperly handles file permissions, allowing an attacker who can log on to the system to overwrite arbitrary files with local system privileges. The update corrects how the updater handles permissions.
Originally disclosed on Microsoft
Description
An elevation of privilege vulnerability exists when Microsoft Visual Studio updater service improperly handles file permissions. An attacker who successfully exploited this vulnerability could overwrite arbitrary file content in the security context of the local system. To exploit this vulnerability, an attacker would first have to log on to the system, and can control the files written by the updater. The update addresses the vulnerability by correcting how the Visual Studio updater handles permissions.
Visual Studio
Visual Studio
Issuing CNA
Microsoft
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 updater service writes files with overly permissive access controls, allowing a low-privileged user to replace or modify files that are later executed with higher privileges.
Impact
An attacker who logs on could overwrite arbitrary files with local system privileges, potentially leading to full system compromise.
What the attacker needed
Attacker must log on to the system; ability to control files written by the updater
The fix
The vulnerability was fixed by correcting how the Visual Studio updater handles permissions.
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 vulnerability in a Microsoft program that updates Visual Studio. The updater didn't check file permissions properly, so someone who can log in to the computer could replace files with their own versions and gain higher privileges. Microsoft fixed it by correcting the permission handling.
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.