CVE-2010-3843
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.31%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 0.31% probability · 24th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- ettercap-project/ettercap
- Source
- secalert@redhat.com
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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.