[ Description ]Official description
Ettercap through 0.8.4.1 contains an out-of-bounds read and size_t underflow vulnerability in sslw_remove_sts() in src/ec_sslwrap.c, caused by a stale length and an unchecked memmem() result when stripping Strict-Transport-Security headers. A malicious HTTPS server whose response passes through Ettercap's SSL interception can trigger out-of-bounds reads and memory corruption in the Ettercap process, which normally runs as root.
[ References ]References
- github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_sslwrap.c
- github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98
- github.com/Ettercap/ettercap/pull/1330
- github.com/Ettercap/ettercap/security/advisories/GHSA-hq2w-pg4m-6w63
- www.vulncheck.com/advisories/ettercap-through-0.8.4.1-out-of-bounds-read-via-sslw-remov…