Remote Desktop Client Remote Code Execution Vulnerability (CVE-2019-1333)
The Windows Remote Desktop Client had a flaw when connecting to a malicious server that allowed the server to run arbitrary code on the connecting client. An attacker who controlled a server could trick a user into connecting and then execute code on the user's computer.
Yongil Lee Follow with Mark
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in the Windows Remote Desktop Client when a user connects to a malicious server. An attacker who successfully exploited this vulnerability could execute arbitrary code on the computer of the connecting client. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. To exploit this vulnerability, an attacker would need to have control of a server and then convince a user to connect to it. An attacker would have no way of forcing a user to connect to the malicious server, they would need to trick the user into connecting via social engineering, DNS poisoning or using a Man in the Middle (MITM) technique. An attacker could also compromise a legitimate server, host malicious code on it, and wait for the user to connect. The update addresses the vulnerability by correcting how the Windows Remote Desktop Client handles connection requests.
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 the client did not properly validate or handle data sent by the server during connection, allowing malicious input to lead to code execution.
Impact
An attacker could execute arbitrary code on the connecting client, potentially installing programs, viewing or changing data, or creating accounts with full rights.
What the attacker needed
Attacker controls a server; victim connects to the malicious server
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 and see its screen. This bug meant that if you connected to a bad server, that server could secretly run its own programs on your computer. The attacker had to trick you into connecting, for example by making the server look legitimate.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.