Skip to content
RCE Advisory Intermediate CVE-2022-30129

Visual Studio Code Remote Code Execution Vulnerability (CVE-2022-30129)

A remote code execution vulnerability existed in Visual Studio Code that required the user to click a specially crafted URL. An attacker could exploit this to run arbitrary code on the victim's machine.

Thomas Chauchefoin Follow

Originally disclosed on Microsoft

High 8.8 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? The user would have to click on a specially crafted URL to be compromised by the attacker.

Visual Studio Code

Visual Studio Code

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Thomas Chauchefoin with SonarSource. 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

What the attacker needed

Victim clicks a crafted URL

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 Code is a popular code editor. This bug meant that if a user clicked a malicious link, an attacker could run their own programs on the user's computer. The user had to be tricked into clicking the link for the attack to work.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by Thomas Chauchefoin

View all

1 more disclosed report, 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.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.