Skip to content
RCE Advisory Advanced CVE-2020-0734

Remote Desktop Client Remote Code Execution Vulnerability (CVE-2020-0734)

The Windows Remote Desktop Client contained a remote code execution flaw that triggered when a user connected to a malicious server. An attacker controlling such a server could run arbitrary code on the connecting client's machine, potentially installing programs, altering data or creating accounts with full rights.

ZhangSen Follow

Originally disclosed on Microsoft

Critical 7.5 View original

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.

Remote Desktop Client

Remote Desktop Client

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by ZhangSen of Qihoo 360 Vulcan Team ​. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

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 parses data sent by the server during connection setup, though the text does not state the exact mistake.

Impact

An attacker who controls a server and gets a user to connect could execute arbitrary code on that user's computer with the user's rights; the text notes the attacker cannot force a connection and must rely on trickery such as social engineering, DNS poisoning or a man-in-the-middle position.

What the attacker needed

Attacker controls a malicious server; victim connects to that 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 control another computer over a network. Here, the program you use to connect (the client) had a bug: if the server on the other end was hostile, it could make your own computer run the attacker's code. The attacker cannot force you to connect, so they must trick you into it, for example by luring you to a fake server.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More by ZhangSen

View all

2 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.