Descrizione
FreeRDP before 3.32.2 has a heap out-of-bounds write in the RDPGFX client because the delete_surface callback truncates surface hash keys to 16 bits, leaving the surface table inconsistent so HashTable_GetKeys writes past its allocated key array. A malicious or man-in-the-middle RDP server can exploit this by creating surfaceId 0xFFFF, closing the RDPGFX channel, sending repeated DELETESURFACE PDUs, and then sending ENDFRAME or RESETGRAPHICS.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 7.5, EPSS 0.3% (percentile 23).
Versioni da aggiornare
- Freerdp Freerdp: vulnerabili le versioni precedenti alla
3.32.2→ aggiornare alla3.32.2o successiva.
Patch e advisory
- Advisory di terze parti: www.vulncheck.com/advisories/freerdp-through-3.32.1-he…
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre la superficie esposta (disattivare servizi e funzionalità inutilizzati), mantenere attive le protezioni del sistema operativo (ASLR, DEP/NX) e segmentare la rete.
Verifica
- Individuare tutti gli asset con il prodotto interessato (inventario, scanner di vulnerabilità, CMDB).
- Confrontare la versione installata con quelle indicate sopra.
- Applicare l'aggiornamento in un ambiente di test, poi in produzione; riavviare i servizi se richiesto.
- Ripetere la scansione per confermare la correzione.
Configurazioni interessate
| Vendor | Prodotto | Versioni vulnerabili | Corretta in |
|---|---|---|---|
| Freerdp | Freerdp | < 3.32.2 | 3.32.2 |
Riferimenti
- Exploit pubblicohttps://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m59q-wm7v-mp57
- Exploit pubblicohttps://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m59q-wm7v-mp57
- Advisory di terze partihttps://www.vulncheck.com/advisories/freerdp-through-3.32.1-heap-out-of-bounds-write-via-rdpgfx-hashtable-getkeys