Descrizione
Ettercap before 0.8.5.1 contains a stack buffer underwrite vulnerability in the telnet dissector in src/dissectors/ec_telnet.c that decrements the output pointer on backspace without a lower bound check. Attackers can send a telnet stream with more backspaces than preceding characters to write below the stack buffer, corrupting the stack of the Ettercap process that normally runs as root.
Come correggere
Priorità: Media — correggere nel prossimo ciclo di patch. Motivazione: CVSS 8.8, EPSS 0.2% (percentile 15).
Versioni da aggiornare
- Ettercap ettercap: vulnerabili le versioni fino alla
0.8.4.1inclusa → aggiornare a una release successiva alla0.8.4.1.
Mitigazioni temporanee
Da applicare solo se non è possibile aggiornare subito:
- Ridurre l'esposizione del componente vulnerabile (segmentazione, accesso solo da reti fidate) finché la patch non è applicata.
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 |
|---|---|---|---|
| Ettercap | ettercap | ≤ 0.8.4.1 | — |
Riferimenti
- Riferimentohttps://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/dissectors/ec_telnet.c#L150-L159
- Riferimentohttps://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98
- Riferimentohttps://github.com/Ettercap/ettercap/pull/1330
- Riferimentohttps://github.com/Ettercap/ettercap/security/advisories/GHSA-w5ch-7c4x-crcc
- Riferimentohttps://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-stack-buffer-underwrite-via-telnet-dissector-backspace-handling