ArchLinux: 201503-12: ettercap: multiple issues
Summary
- CVE-2014-6395 (arbitrary code execution)
Heap-based buffer overflow in the dissector_postgresql function in
dissectors/ec_postgresql.c allows remote attackers to cause a denial of
service or possibly execute arbitrary code via a crafted password length
value that is inconsistent with the actual length of the password.
- CVE-2014-6396 (arbitrary memory write)
The dissector_postgresql function in dissectors/ec_postgresql.c allows
remote attackers to cause a denial of service and possibly execute
arbitrary code via a crafted password length, which triggers a 0
character to be written to an arbitrary memory location.
- CVE-2014-9376 (arbitrary code execution)
Integer underflow 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.
- CVE-2014-9377 (arbitrary code execution)
Heap-based buffer overflow in the nbns_spoof function in
plug-ins/nbns_spoof/nbns_spoof.c allows remote attackers to cause a
denial of service or possibly execute arbitrary code via a large netbios
packet.
- CVE-2014-9378 (arbitrary code execution)
Ettercap does not validate certain return values, which allows remote
attackers to cause a denial of service (crash) or possibly execute
arbitrary code via a crafted (1) name to the parse_line function in
mdns_spoof/mdns_spoof.c or (2) base64 encoded password to the
dissector_imap function in dissectors/ec_imap.c.
- CVE-2014-9379 (arbitrary code execution)
The radius_get_attribute function in dissectors/ec_radius.c performs an
incorrect cast, which allows remote attackers to cause a denial of
service (crash) or possibly execute arbitrary code via unspecified
vectors, which triggers a stack-based buffer overflow.
- CVE-2014-9380 (denial of service)
The dissector_cvs function in dissectors/ec_cvs.c allows remote
attackers to cause a denial of service (out-of-bounds read) via a packet
containing only a CVS_LOGIN signature.
- CVE-2014-9381 (denial of service)
Integer signedness error in the dissector_cvs function in
dissectors/ec_cvs.c allows remote attackers to cause a denial of service
(crash) via a crafted password, which triggers a large memory allocation.
Resolution
Upgrade to 0.8.2-1.
# pacman -Syu "ettercap>=0.8.2-1"
The problems have been fixed upstream in version 0.8.2.
References
https://www.obrela.com/advisory/obrela-security-industries-advisory-osi-1401/ https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6395 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6396 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9376 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9377 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9378 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9379 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9380 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9381 https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-9395 https://bugs.archlinux.org/task/44174
![Dist Arch](/images/distros/dist-arch.png)
Workaround
None.