Technical impact
Ettercap before version 0.8.5.1 contains an out‑of‑bounds read and size_t underflow flaw in the sslw_remove_sts() function, caused by a stale length value and an unchecked memmem() result when stripping Strict‑Transport‑Security headers. A malicious HTTPS server whose response flows through Ettercap’s SSL interception can trigger out‑of‑bounds reads and memory corruption in the Ettercap process, which normally runs as root. The resulting memory corruption could enable an attacker to execute arbitrary code on the host system.
Affected Systems
The vulnerability affects the Ettercap project’s Ettercap software, specifically all releases through 0.8.4.1 (including 0.8.4.1). Systems that run these versions as root are at risk when performing SSL interception of HTTPS traffic.
Risk and Exploitability
The CVSS score of 7.2 indicates high severity, and the EPSS score of 0.286% reflects a very low but non‑zero exploitation probability. The flaw is not listed in CISA’s KEV catalog. An attacker would typically control a HTTPS server whose traffic is captured by an Ettercap instance performing SSL interception. By sending crafted responses that trigger the out‑of‑bounds read, the attacker can corrupt memory and potentially take full control of the privileged Ettercap process.