Windows Remote Desktop Services Remote Code Execution Vulnerability (CVE-2025-24045)
Windows Remote Desktop Services stores sensitive data in memory that is not properly locked, and an unauthorised attacker can exploit this over a network to execute code. Exploitation requires winning a race condition, which makes the attack complex.
Description
Sensitive data storage in improperly locked memory in Windows Remote Desktop Services allows an unauthorized attacker to execute code over a network.
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 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 sensitive data is stored in memory without proper locking, allowing an attacker to access or manipulate it during a race condition.
Impact
An unauthorised attacker could execute code over a network, but only if they win a race condition, so exploitation is complex.
What the attacker needed
Network access to Remote Desktop Services; 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 part of Windows that lets you connect to another computer's desktop over a network. Because some sensitive information is kept in memory that other programs can access, an attacker who can reach the service over the network may be able to run their own code on the machine. The attacker must also win a timing race, which makes it harder to pull off.
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.