Description
Integer underflow in Ettercap 0.8.1 allows remote attackers to cause a denial of service (out-of-bounds write) and possibly execute arbitrary code via a small (1) size variable value in the dissector_dhcp function in dissectors/ec_dhcp.c, (2) length value to the dissector_gg function in dissectors/ec_gg.c, or (3) string length to the get_decode_len function in ec_utils.c or a request without a (4) username or (5) password to the dissector_TN3270 function in dissectors/ec_TN3270.c.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | ettercap | 1:0.8.1-3 | — |
| Debian 12 | ettercap | 1:0.8.1-3 | — |
References
- GLSA-201505-01 vendor-advisory
- https://github.com/Ettercap/ettercap/pull/606
- 71696 vdb-entry
- https://www.obrela.com/home/security-labs/advisories/osi-advisory-osi-1402/
- https://github.com/Ettercap/ettercap/pull/602
- https://github.com/Ettercap/ettercap/pull/605
- 20141216 "Ettercap 8.0 - 8.1" multiple vulnerabilities mailing-list
- https://github.com/Ettercap/ettercap/pull/609