7.8
CWE
787 119
Advisory Published
CVE Published
Updated

CVE-2010-3843: Buffer Overflow

First published: Fri Oct 15 2010(Updated: )

Dan Rosenberg reported [1] the following vulnerability in Ettercap-GTK: 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/interfaces/gtk/ec_gtk_conf.c), an unchecked sscanf() call allows a maliciously placed settings file to overflow a statically-sized buffer on the stack. Stack-smashing protection catches it, but it still should be fixed. Verify with: $ perl -e 'print "A"x500' &gt; /tmp/.ettercap_gtk &amp;&amp; ettercap -G Firstly, the settings file should not be globally accessible without checking ownership, which still gets hairy because an attacker could create a symlink or hard link to a victim-controlled file (unless you're using YAMA :p). The best thing would probably be to keep this file in the user's home directory instead. Secondly, parsing configuration files should be robust against malformed input and not susceptible to trivial buffer overflows. This issue has been assigned the name <a href="https://access.redhat.com/security/cve/CVE-2010-3843">CVE-2010-3843</a> [2]. [1] <a href="https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/656347">https://bugs.launchpad.net/ubuntu/+source/ettercap/+bug/656347</a> [2] <a href="http://article.gmane.org/gmane.comp.security.oss.general/3660">http://article.gmane.org/gmane.comp.security.oss.general/3660</a>

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
redhat/ettercap<0.7.5
0.7.5
Ettercap=0.7.3

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2010-3843?

    CVE-2010-3843 is considered a medium severity vulnerability due to its potential to allow unauthorized access to sensitive configurations.

  • How do I fix CVE-2010-3843?

    To fix CVE-2010-3843, ensure that Ettercap is updated to version 0.7.6 or later, where the ownership verification issue has been addressed.

  • What systems are affected by CVE-2010-3843?

    CVE-2010-3843 affects Ettercap versions 0.7.3 up to but not including 0.7.5 on Red Hat and similar distributions.

  • What impact does CVE-2010-3843 have?

    The impact of CVE-2010-3843 could lead to unauthorized users altering globally accessible configuration files in Ettercap.

  • Can CVE-2010-3843 be exploited remotely?

    Yes, CVE-2010-3843 can be exploited remotely if an attacker has access to the file system where the vulnerable version of Ettercap is running.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203