Windows Remote Desktop Services Remote Code Execution Vulnerability (CVE-2024-49132)
A race condition in Windows Remote Desktop Services could lead to a use-after-free, allowing an attacker to execute arbitrary code on a system with the Remote Desktop Gateway role. Exploitation requires winning a race condition, which is difficult.
FAQ
How could an attacker exploit this vulnerability? An attacker could successfully exploit this vulnerability by attempting to connect to a system with the Remote Desktop Gateway role, triggering the race condition to create a use-after-free scenario, and then leveraging this to execute arbitrary code.
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.
Windows Remote Desktop
Windows Remote Desktop
Microsoft
Microsoft
Customer Action Required
Yes
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 race condition in Remote Desktop Services that leads to a use-after-free memory corruption.
Impact
An attacker who successfully wins the race condition could execute arbitrary code on the target system.
What the attacker needed
Target runs Remote Desktop Gateway role; attacker can connect to the target; attacker must win a race condition
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 Windows Remote Desktop Services, a feature that lets people connect to a computer remotely. A race condition means two actions happen at almost the same time in an unpredictable order, and here it can cause the software to use memory after it has been freed, which an attacker can abuse to run their own code. The attacker must first connect to a system running the Remote Desktop Gateway role and then win the race, which is hard to do reliably.
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.