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.
Originally disclosed on Microsoft
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
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.