GHSA-j37f-7jx3-rf8j: Ettercap through 0.8.4.1 Stack Buffer Overflow via WPA CCMP Decryption
Ettercap through 0.8.4.1 contains an integer underflow in ccmpdecrypt() in src/ecencryptionccmp.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 Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Exposure requires Ettercap to be processing WPA CCMP traffic with the relevant WPA key loaded. An attacker must be on that network to send the crafted short CCMP frame.
What level of access does an attacker need?
The attacker does not need privileges or user interaction in Ettercap. They need network-level access sufficient to inject a crafted CCMP frame into a network for which Ettercap has a WPA key loaded.
What is the likely impact if exploitation succeeds?
The crafted frame can trigger a stack buffer overflow in the Ettercap process. Because Ettercap normally runs as root, successful exploitation may compromise confidentiality, integrity, and availability with root-level process privileges.