Visual Studio Remote Code Execution Vulnerability (CVE-2022-35827)
Visual Studio contains a remote code execution flaw that is triggered when a user opens a specially crafted file. An attacker could send such a file by email or host it on a website and convince the user to open it, which could let the attacker run code on the victim's machine.
FAQ
According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? Exploitation of the vulnerability requires that a user open a specially crafted file. In an email attack scenario, an attacker could exploit the vulnerability by sending the specially crafted file to the user and convincing the user to open the file. In a web-based attack scenario, an attacker could host a website (or leverage a compromised website that accepts or hosts user-provided content) containing a specially crafted file designed to exploit the vulnerability. An attacker would have no way to force users to visit the website. Instead, an attacker would have to convince users to click a link, typically by way of an enticement in an email or instant message, and then convince them to open the specially crafted file.
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
Impact
An attacker could run code on the victim's machine, but only if the user opens the crafted file, and the text gives no further detail on the extent of that code execution.
What the attacker needed
Victim opens a crafted file; attacker convinces the user
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 flaw in Visual Studio, a program developers use to write software. If someone opens a file that has been tampered with, the attacker may be able to run their own code on that computer. The victim has to be tricked into opening the file, so the attacker cannot do it on their own.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.