Description
The GTK version of ettercap uses a global settings file at /tmp/.ettercap_gtk and does not verify ownership of this file. When parsing this file for settings in gtkui_conf_read() (src/interfacesgtk/ec_gtk_conf.c), an unchecked sscanf() call allows a maliciously placed settings file to overflow a statically-sized buffer on the stack.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | ettercap | ettercap 0.7.5 |
References
- http://article.gmane.org/gmane.comp.security.oss.general/3660
- https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/656347Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=643453Issue Tracking, Third Party Advisory
- http://article.gmane.org/gmane.comp.security.oss.general/3660
- https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/656347Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=643453Issue Tracking, Third Party Advisory
Timeline
- Published
- May 28, 2021
- Last modified
- Jun 16, 2026
- NVD status
- Modified