Skip to content
RCE Advisory Advanced CVE-2022-22017

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

The Remote Desktop Client contained a remote code execution flaw. An attacker who ran a malicious RDP server could execute code on a victim's machine when the victim connected to it.

bee13oy Follow

Originally disclosed on Microsoft

Critical 8.8 View original

FAQ

How would an attacker exploit this vulnerability? An attacker would have to convince a targeted user to connect to a malicious RDP server. Upon connecting, the malicious server could execute code on the victim's system in the context of the targeted user.

Remote Desktop Client

Remote Desktop Client

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by bee13oy with Cyber 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 memory-safety flaw in how the Remote Desktop Client processes data sent by the server.

Impact

The malicious server could run code on the victim's computer with the victim's own permissions.

What the attacker needed

Victim connects to attacker's RDP server

The fix

Microsoft marked customer action as required, but the text does not describe the patch itself.

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 the network. Here, the danger is reversed: the computer you connect to can run code on your own machine. The attacker must first trick you into connecting to their 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 bee13oy

View all

34 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.