Windows Remote Desktop Services Remote Code Execution Vulnerability (CVE-2024-49115)
A race condition in Windows Remote Desktop Services can be triggered by connecting to a system with the Remote Desktop Gateway role, leading to a use-after-free that allows arbitrary code execution.
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.
FAQ
How could an attacker exploit this vulnerability? An attacker could successfully exploit this vulnerability by connecting 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.
Windows Remote Desktop Services
Windows Remote Desktop Services
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 Gateway handling that leads to a use-after-free memory error.
Impact
An attacker could execute arbitrary code on the affected system, but exploitation requires winning a race condition, which is difficult.
What the attacker needed
Target runs Remote Desktop Gateway role; attacker can connect to the system; 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, the software that lets you connect to another computer's desktop over a network. A race condition means two actions happen at almost the same time in an unpredictable order, and here that timing mistake lets an attacker run their own code on the machine.
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.