GHSL-2020-101: NULL dereference in FreeRDP FIPS routines - CVE-2020-13397
A malicious FreeRDP server can claim FIPS encryption for a session that expects NLA, causing the client to enter FIPS code paths with an uninitialised pointer. This leads to a NULL pointer dereference and likely a client crash.
Originally disclosed on GitHub Security Lab
A NULL dereference vulnerability has been detected in FreeRDP’s securityfipsdecrypt routine due to use of uninitialized pointer values. This issue has been addressed in FreeRDP 2.1.1.
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 client trusts the server's encryption method and enters FIPS-specific code without checking that the FIPS decryption context was initialised.
Impact
This issue may lead to NULL pointer dereference, likely crashing the client.
What the attacker needed
Malicious FreeRDP server; client connects to that server
The fix
The issue was fixed in FreeRDP 2.1.1 by the vendor.
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. A malicious server can send a special setting that makes the client use a different encryption mode than it prepared for, and the client then tries to use a pointer that was never set up, which crashes it.
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.