FreeRDP Rdp Client Read Server Proprietary Certificate Denial of Service Vulnerability
A specially crafted challenge packet with a key length less than eight causes an integer underflow in FreeRDP's parsing of proprietary server certificates, leading to an oversized memory allocation and an out-of-bounds read. This results in a denial of service, crashing the client.
Originally disclosed on Cisco Talos
An exploitable denial of service vulnerability exists within the reading of proprietary server certificates 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
The code subtracts 8 from a user-supplied key length without checking that it is at least 8, causing an integer underflow that bypasses a length check and leads to an oversized allocation and out-of-bounds read.
Impact
The client crashes, causing a denial of service; the attacker must control the server or use a man-in-the-middle position.
What the attacker needed
Attacker controls server or MITM; victim connects with FreeRDP client
How it was found
- Run the included Python server.
- Connect the FreeRDP client to the 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 it reads a certificate from the server, it trusts a length value from the network. If that value is too small, a calculation goes wrong and the program tries to read more data than it should, which crashes it. An attacker who controls the server, or can intercept the connection, can send such a packet to make the client crash.
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.