FreeRDP Rdp Client GCC Read Server Security Data Denial of Service Vulnerability
The FreeRDP client reads two length values from a server security data packet and checks their sum against the remaining buffer length, but an integer overflow in that check allows an out-of-bounds read. An attacker controlling the server or acting as a man-in-the-middle can send a crafted challenge packet to crash the client, causing denial of service.
Originally disclosed on Cisco Talos
An exploitable denial of service vulnerability exists within the handling of security data in FreeRDP 2.0.0-beta1+android11. A specially crafted challenge packet can cause the program termination leading to a denial of service condition.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 an integer overflow in the check that adds two attacker-controlled length values, allowing the sum to wrap and bypass the remaining-length validation.
Impact
An attacker who controls the server or performs a man-in-the-middle attack can crash the FreeRDP client, causing a denial of service.
What the attacker needed
Attacker controls the RDP server or MITM position; victim connects with FreeRDP client
How it was found
- Run the included Python server.
- Connect the FreeRDP client to that server.
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.
FreeRDP is software that lets you connect to remote desktops. When connecting, the server sends a packet with two numbers that say how much data follows. The client adds these numbers to check if enough data remains, but the addition can wrap around to a small value, so the check passes even though the actual data is too short. The client then tries to read beyond the buffer and crashes.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.