CVE-2013-0722: Buffer Overflow

Published Jan 10, 2013
·
Updated

A stack-based buffer overflow was reported [1],[2] in Ettercap <= 0.7.5.1. A boundary error within the scanloadhosts() function (in src/ecscan.c), when parsing entries from a hosts list, could be exploited to cause a stack-based buffer overflow via an overly long entry. In order to exploit this, a user must be tricked into loading a malicious host file.

This has not yet been corrected upstream, but a proposed patch is available [3].

The initial report [1] indicates that this was given the name CVE-2012-0722.

[1] http://www.exploit-db.com/exploits/23945/ [2] https://secunia.com/advisories/51731/ [3] http://www.securation.com/files/2013/01/ec.patch

Other sources

Stack-based buffer overflow in the scanloadhosts function in ecscan.c in Ettercap 0.7.5.1 and earlier might allow local users to gain privileges via a Trojan horse hosts list containing a long line.

MITRE

Affected Software

8 affected componentsFixes available
redhat/ettercap<0.7.5.2
0.7.5.2
Ettercap-project Ettercap<=0.7.5.1
Ettercap-project Ettercap=0.6.3.1
Ettercap-project Ettercap=0.7.2
Ettercap-project Ettercap=0.7.3
Ettercap-project Ettercap=0.7.4
Ettercap-project Ettercap=0.7.4.1
Ettercap-project Ettercap=0.7.5

Event History

Jan 11, 2013
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2013-0722?

CVE-2013-0722 has a high severity due to the potential for remote code execution through a stack-based buffer overflow.

2

How do I fix CVE-2013-0722?

To mitigate CVE-2013-0722, upgrade Ettercap to version 0.7.5.2 or later.

3

What versions are affected by CVE-2013-0722?

CVE-2013-0722 affects Ettercap versions up to and including 0.7.5.1.

4

What is the nature of the vulnerability in CVE-2013-0722?

CVE-2013-0722 is a stack-based buffer overflow caused by improper handling of overly long entries in a hosts list.

5

Can CVE-2013-0722 be exploited remotely?

Yes, CVE-2013-0722 can be exploited remotely if an attacker can send specially crafted input to the affected software.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203