CyberRota Analysis
AI-GeneratedFreeRDP versions prior to 3.27.0 are vulnerable to a heap corruption issue due to improper handling of response reassembly stream capacity, allowing a malicious TS Gateway to exploit the vulnerability by sending crafted responses. This could lead to client crashes and potential code execution, posing significant risks to systems relying on Remote Desktop Protocol. Organizations using FreeRDP should prioritize upgrading to version 3.27.0 or later to mitigate this high-severity vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.27.0, rpc_client_recv_fragment in libfreerdp/core/gateway/rpc_client.c ensures the response reassembly stream capacity using only the server-declared alloc_hint rather than the actual StubLength about to be written. A malicious TS Gateway can send a PTYPE_RESPONSE with a small alloc_hint and a much larger frag_length, causing Stream_Write to copy attacker-controlled stub data beyond the 4096-byte pdu->s buffer. This can crash the client and may permit code execution through heap corruption. This issue is fixed in version 3.27.0.