Remote Desktop Client Remote Code Execution Vulnerability (CVE-2021-38666)
The Remote Desktop Client contained a vulnerability that allowed a malicious RDP server to execute code on a connecting client machine. An attacker controlling an RDP server could achieve remote code execution when a victim 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 RDP client machine when a victim connects to the attacker's server with the vulnerable Remote Desktop Client.
Windows RDP
Windows RDP
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 processes data sent by the server during a connection.
Impact
An attacker could execute arbitrary code on the victim's machine, but only if the victim connects to the attacker's RDP server.
What the attacker needed
Victim connects to attacker-controlled RDP server
The fix
Microsoft addressed the vulnerability; the text states that customer action is required, implying a security update should be applied.
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 connect to another computer over the network. Here, the program you use to connect (the client) had a flaw: if you connected to a bad server, that server could run harmful code on your own computer. You would need to be tricked into connecting to the attacker's server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.