Skip to content
RCE Advisory Advanced CVE-2020-1374

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

The Windows Remote Desktop Client contained a flaw that could be triggered when a user connected to a malicious server, allowing the attacker to run arbitrary code on the connecting client. An attacker with control of a server could trick a user into connecting and then execute code, install programs, or create accounts with full user rights.

Felipe Cerqueira dos Santos 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.

Microsoft Windows

Microsoft Windows

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by Felipe Cerqueira dos Santos. 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 processes data from the server during connection, since the text only says the update corrects how connection requests are handled.

Impact

An attacker who gets a user to connect to their server could execute arbitrary code on the client machine, potentially installing programs, viewing or changing data, or creating accounts with full user rights.

What the attacker needed

Attacker controls a 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 it connected to a server set up by an attacker, the attacker could run their own code on your machine. The attacker cannot force you to connect, so they have to trick you into doing it.

What is RCE?

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

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.