Skip to content
Access control Advisory Intermediate CVE-2022-21893

Remote Desktop Protocol Remote Code Execution Vulnerability (CVE-2022-21893)

A flaw in the Windows Remote Desktop Protocol client allowed a malicious RDP server to read or tamper with the connecting user's clipboard and filesystem contents. An attacker could exploit this by convincing a targeted user to connect to a malicious RDP server.

Gabriel Sztejnworcel Follow

Originally disclosed on Microsoft

High 8.0 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 read or tamper with clipboard contents and the victim's filesystem contents.

Windows RDP

Windows RDP

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Gabriel Sztejnworcel with CyberArk. 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 the RDP client did not properly restrict what a server could access through clipboard and filesystem redirection.

What the attacker needed

Victim connects to a malicious RDP 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 Protocol (RDP) lets you control another computer over the network. Normally the server is the one at risk, but here the client software on the victim's machine trusted the server too much. If the victim connected to a bad server, that server could access files and clipboard data on the victim's computer.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by Gabriel Sztejnworcel

View all

1 more disclosed report, 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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.