Skip to content
RCE Advisory Advanced CVE-2020-0655

Remote Desktop Services Remote Code Execution Vulnerability (CVE-2020-0655)

An authenticated attacker who has already compromised a system running Remote Desktop Services could abuse clipboard redirection to execute arbitrary code on a victim system that connects to that service. The update corrects how Remote Desktop Services handles clipboard redirection.

VictorV Follow

Originally disclosed on Microsoft

High 8.0 View original

Description

A remote code execution vulnerability exists in Remote Desktop Services – formerly known as Terminal Services – when an authenticated attacker abuses clipboard redirection. An attacker who successfully exploited this vulnerability could execute arbitrary code on the victim system. 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 must already have compromised a system running Remote Desktop Services, and then wait for a victim system to connect to Remote Desktop Services. The update addresses the vulnerability by correcting how Remote Desktop Services handles clipboard redirection.

Windows Shell

Windows Shell

Microsoft

Microsoft

The original report as published on the Microsoft Security Response Center, by VictorV(Tangtianwen) with Kunlun Lab. 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 flaw in how Remote Desktop Services processes clipboard redirection data, allowing a malicious server to send crafted content that leads to code execution on the connecting client.

Impact

An attacker could execute arbitrary code on the victim system, then install programs, view, change, or delete data, or create new accounts with full user rights.

What the attacker needed

Attacker has compromised an RDS host; victim connects to that RDS host

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 Services lets you control another Windows computer over a network, and clipboard redirection lets you copy and paste between the two machines. This bug means that if an attacker already controls the computer you are connecting to, they can use the clipboard feature to run their own code on your computer. You would need to connect to a machine that the attacker has already taken over for this to work.

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.