Description
Ettercap through 0.8.4.1 contains an integer underflow in ccmp_decrypt() in src/ec_encryption_ccmp.c that subtracts the 8-byte CCMP trailer without checking minimum length. Attackers on a network whose WPA key is loaded can send a short crafted CCMP frame to overflow a stack buffer in the Ettercap process, which normally runs as root.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Ettercap ettercap
Default version status: unaffected
0 to ≤ 0.8.4.1affected
pkg:github/Ettercap/ettercapReferences
- https://github.com/Ettercap/ettercap/security/advisories/GHSA-j37f-7jx3-rf8j ↗
- https://github.com/Ettercap/ettercap/commit/1d8badb713579419a29a494bb463a1af59707e98 ↗
- https://github.com/Ettercap/ettercap/pull/1330 ↗
- https://github.com/Ettercap/ettercap/blob/v0.8.4.1/src/ec_encryption_ccmp.c#L190-L203 ↗
- https://www.vulncheck.com/advisories/ettercap-through-0.8.4.1-stack-buffer-overflow-via-wpa-ccmp-decryption ↗