CVE-2010-3843

HIGH

ettercap - Stack-Based Buffer Overflow via Unchecked sscanf in gtkui_conf_read

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Issue Tracking, Third Party Advisory x_refsource_misc
https://bugzilla.redhat.com/show_bug.cgi?id=643453
Patch, Third Party Advisory x_refsource_misc
https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/656347

Scores

CVSS v3 7.8
EPSS 0.0031
EPSS Percentile 23.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-787
Status published
Products (1)
ettercap-project/ettercap 0.7.3
Published May 28, 2021
Tracked Since Feb 18, 2026