Skip to content
RCE Advisory Advanced CVE-2022-30221

Windows Graphics Component Remote Code Execution Vulnerability (CVE-2022-30221)

A flaw in the Windows graphics component could let a malicious RDP server run code on a victim's machine once the victim connects to it. The code would run with the victim's own privileges.

Colas Le Guernic 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.

FAQ

I am running Windows 7 Service Pack 1 or Windows Server 2008 R2 Service Pack 1. Is there more information of which I need to be aware? These operating systems are only affected by this vulnerability if either RDP 8.0 or RDP 8.1 is installed. If you do not have either of these versions of RDP installed on Windows 7 SP1 or Window Server 2008 R2 SP1, then you are not affected by this vulnerability.

Microsoft Graphics Component

Microsoft Graphics Component

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Colas Le Guernic, Jeremy Rubert, and Anonymous with Thalium. 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

Impact

An attacker could execute code on the victim's system with the victim's privileges, but only after the user connects to the attacker's RDP server.

What the attacker needed

Victim connects to attacker's RDP server; Windows 7/2008 R2 need RDP 8.0 or 8.1 installed

The fix

Microsoft released a security update for the affected Windows versions, and customers are told to apply it.

How it was found

  1. An attacker sets up a malicious RDP server.
  2. The attacker persuades the targeted user to connect to that server.
  3. On connection, the server sends data that triggers the flaw and runs code on the victim's system.

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 view and control another computer over a network. Here the roles are reversed: the computer you connect to can send something harmful back to your machine. If it does, it can run its own programs on your computer as if you had started them yourself.

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.