Skip to content
Race condition Advisory Advanced CVE-2024-21307

Remote Desktop Client Remote Code Execution Vulnerability (CVE-2024-21307)

A remote code execution vulnerability exists in the Remote Desktop Client. An attacker who wins a race condition could execute code on a victim's machine after the victim initiates a connection.

Mingjia Liu Follow

Originally disclosed on Microsoft

High 7.5 View original

FAQ

According to the CVSS metric, user interaction is required (UI:R) and privileges required are none (PR:N). What does that mean for this vulnerability? An unauthorized attacker must wait for a user to initiate a connection.

FAQ

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.

Remote Desktop Client

Remote Desktop Client

Microsoft

Microsoft

Customer Action Required

Yes

The original report as published on the Microsoft Security Response Center, by Mingjia Liu with DBAPPSecurity WeBin 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

Impact

An attacker could execute arbitrary code on the victim's system, but only if they win a race condition and the user initiates a connection.

What the attacker needed

Victim initiates a connection; attacker wins a race condition

The fix

Microsoft released a security update; 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.

This is a flaw in the software people use to connect to remote desktops. An attacker has to be lucky and act at exactly the right moment (a race condition) while the victim starts a connection, and if they succeed they could run their own code on the victim's computer.

What is Race condition?

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.

More by Mingjia Liu

View all

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

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.