CVE-2010-3843 Memory corruption in ettercap
A stack-based buffer overflow in the GTK interface of ettercap allows local attackers to execute arbitrary code via a maliciously crafted settings file.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2010-3843?
CVE-2010-3843 is a high-severity memory corruption vulnerability in ettercap, published on 28 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-787
Which versions are affected by CVE-2010-3843?
It affects 1 product.
Products include Ettercap-Project Ettercap.
How do I fix CVE-2010-3843?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2010-3843 being exploited?
There is no known exploitation of CVE-2010-3843 in the wild and no public exploit code.
Other vulnerabilities in ettercap
Sources
Also known as DEBIAN-CVE-2010-3843, GHSA-2w85-hj5c-563j.