Remote Desktop Client Remote Code Execution Vulnerability (CVE-2021-34535)
The Remote Desktop Client contained a vulnerability that allowed an attacker controlling a malicious RDP server to execute arbitrary code on a victim's machine when the victim connected to that server. A similar issue in the Hyper-V Viewer could allow a malicious guest VM to achieve guest-to-host code execution when a host user connected to it.
Originally disclosed on Microsoft
FAQ
How could an attacker exploit this vulnerability? In the case of a Remote Desktop connection, an attacker with control of a Remote Desktop Server could trigger a remote code execution (RCE) on the machine when a victim connects to the attacking server with the vulnerable Remote Desktop Client. In the case of Hyper-V, a malicious program running in a guest VM could trigger guest-to-host RCE by exploiting this vulnerability in the Hyper-V Viewer when a victim running on the host connects to the attacking Hyper-V guest.
Remote Desktop Client
Remote Desktop Client
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
Root cause
Likely a memory-safety flaw in how the Remote Desktop Client and Hyper-V Viewer process data received from the server or guest.
Impact
An attacker could achieve remote code execution on a victim's machine, either from a malicious RDP server or from a malicious guest VM to the host, though the text does not state the privileges gained.
What the attacker needed
Victim connects to attacker-controlled RDP server; or host user connects to malicious guest VM
The fix
Microsoft addressed the vulnerability; the text lists customer action as required but does not describe the patch 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.
Remote Desktop lets you control another computer over a network. Here, the program you use to connect (the client) had a flaw: if you connected to a bad server, that server could run its own code on your computer. The same kind of flaw existed in a tool used to view virtual machines.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.