Remote Desktop Protocol Server Remote Code Execution Vulnerability (CVE-2024-43582)
The Remote Desktop Protocol server contains a race condition that can be triggered by sending malformed packets to a websocket listening port. An unauthenticated attacker could exploit this to achieve remote code execution with the permissions of the websocket service.
FAQ
How could an attacker exploit this vulnerability? To exploit this vulnerability, an unauthenticated attacker would need to send malformed packets to a websocket listening port. This could result in remote code execution on the server side with the same permissions as the websocket service.
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 the handling of malformed packets on a websocket listening port, leading to memory corruption or logic errors that allow code execution.
Impact
An unauthenticated attacker could achieve remote code execution on the server with the permissions of the websocket service, but exploitation requires winning a race condition, making it complex.
What the attacker needed
Network access to websocket port; 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 that lets someone who is not logged in send specially crafted network messages to a websocket port. Because of a timing problem (a race condition), the server can be tricked into running the attacker's code. The attacker would gain the same access as the websocket service, which could be very powerful.
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.