Skip to content
RCE Advisory Advanced CVE-2022-23285

Remote Desktop Client Remote Code Execution Vulnerability (CVE-2022-23285)

The Remote Desktop Client contained a vulnerability that allowed an attacker controlling a malicious RDP server to execute arbitrary code on the victim's machine when the victim connected to that server. This could lead to remote code execution on the client system.

Chunyang Han Follow

Originally disclosed on Microsoft

High 8.8 View original

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 attacking server with the vulnerable Remote Desktop Client.

Windows Remote Desktop

Windows Remote Desktop

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Ver(@Ver0759) , Lewis(@LewisLee53) and Zhiniang Peng (@edwardzpeng) with Sangfor. 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 corruption or input validation flaw in the Remote Desktop Client when processing data from a malicious server.

Impact

An attacker could execute arbitrary code on the victim's machine, potentially taking full control of the client system.

What the attacker needed

Victim connects to attacker-controlled RDP server; vulnerable Remote Desktop Client

The fix

Microsoft released a security update to fix this vulnerability; customers should apply it.

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. In this case, 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 computer. You would need to connect to the attacker's server for this to happen.

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.