Skip to content
Access control Advisory Advanced CVE-2022-41083

Visual Studio Code Elevation of Privilege Vulnerability (CVE-2022-41083)

Visual Studio Code had an elevation of privilege flaw that let an attacker run code as another VS Code user on the same machine. The advisory gives no technical detail about the flaw itself.

ycdxsb Follow

Originally disclosed on Microsoft

High 7.8 View original

FAQ

What privileges could be gained by an attacker who successfully exploited the vulnerability? An attacker who successfully exploited this vulnerability could execute code in the context of another Visual Studio Code user on the vulnerable system.

Visual Studio Code

Visual Studio Code

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by ycdxsb with VARAS@IIE. 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

Impact

An attacker could execute code in the context of another Visual Studio Code user on the vulnerable system, though the text gives no further detail on how or how reliably.

What the attacker needed

Local access to the same machine; another VS Code user present

The fix

Microsoft marked customer action as required, implying an update should be applied, but the text does not describe the fix itself.

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.

Elevation of privilege means someone with limited access finds a way to act with someone else's higher access. Here, a person using Visual Studio Code, a code editor, could get their code to run as if it were another user of the same editor on that computer. The notice does not explain how, only that a fix is available and customers should act.

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 ycdxsb

View all

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