tcpdump print-802_11.c printer buffer overflow
| tcpdump-print80211c-bo (32749) |
Description:
tcpdump is vulnerable to an off-by-one buffer overflow, caused by improper bounds checking by the parse_elements() in print-802_11.c. By sending a specially-crafted 802.11 frame, a remote attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
Platforms Affected:
- Apple, Mac OS X 10.4.11
- Apple, Mac OS X Server 10.4.11
- Canonical, Ubuntu 5.10
- Canonical, Ubuntu 6.06 LTS
- Canonical, Ubuntu 6.10
- Debian, Debian Linux 3.1
- MandrakeSoft, Mandrake Linux 2006 X86_64
- MandrakeSoft, Mandrake Linux 2006
- MandrakeSoft, Mandrake Linux 2007
- MandrakeSoft, Mandrake Linux 2007 X86_64
- MandrakeSoft, Mandrake Linux 2007.1
- MandrakeSoft, Mandrake Linux 2007.1 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 3.0
- MandrakeSoft, Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft, Mandrake Linux Corporate Server 4.0
- MandrakeSoft, Mandrake Linux Corporate Server 4.0 X86_64
- RedHat, Enterprise Linux 4 Desktop
- RedHat, Enterprise Linux 4 ES
- RedHat, Enterprise Linux 4 AS
- RedHat, Enterprise Linux 4 WS
- RedHat, Enterprise Linux 5
- RedHat, Enterprise Linux 5 Client
- RedHat, Enterprise Linux 5 Client Workstation
- Seth Webster, tcpdump 3.9.5
- Turbolinux, Turbolinux 10 Desktop
- Turbolinux, Turbolinux 10 F...
- Turbolinux, Turbolinux 10 Server
- Turbolinux, Turbolinux 10 Server x64 Ed
- Turbolinux, Turbolinux 8 Server
- Turbolinux, Turbolinux FUJI
- Turbolinux, Turbolinux Home
- Turbolinux, Turbolinux Multimedia
- Turbolinux, Turbolinux Personal
- Turbolinux, Turbolinux Appliance Server 1.0 Hosting Ed
- Turbolinux, Turbolinux Appliance Server 1.0 Workgroup Ed
- Turbolinux, Turbolinux Appliance Server 2.0
Remedy:
Apply the patch for this vulnerability (print-802_11.c), available from the tcpdump CVS Repository. See References.
For Ubuntu Linux (tcpdump):
Refer to USN-429-1 for patch, upgrade, or suggested workaround information. See References.
For Mandriva Linux (tcpdump):
Refer to MDKSA-2007:056 for patch, upgrade, or suggested workaround information. See References.
For Debian Linux:
Refer to DSA-1272-1 for patch, upgrade, or suggested workaround information. See References.
For Turbolinux (Tcpdump):
Refer to TLSA-2007-46 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Apply the appropriate update for your system. See References.
Consequences:
Gain Access
References:
- Apple Web site, About Security Update 2007-009 at http://docs.info.apple.com/article.html?artnum=307179.
- Apple Web site, About Security Update 2007-009 v1.1 at http://docs.info.apple.com/article.html?artnum=307224.
- BugTraq Mailing List, Mon Dec 17 2007 - 15:47:29 CST, Apple OS X Software Update Remote Command Execution at http://archives.neohapsis.com/archives/bugtraq/2007-12/0217.html.
- Full-Disclosure Mailing List, 2007-03-01 12:59:23, tcpdump: off-by-one heap overflow in 802.11 printer at http://marc.info/?l=full-disclosure&m=117275402813137&w=2.
- tcpdump CVS Repository, CVS log for tcpdump/print-802_11.c at http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-802_11.c.
- ASA-2007-528: tcpdump security and bug fix update (RHSA-2007-0387)
- BID-22772: TCPDump IEEE802.11 printer Remote Buffer Overflow Vulnerability
- CVE-2007-1218: Off-by-one buffer overflow in the parse_elements function in the 802.11 printer code (print-802_11.c) for tcpdump 3.9.5 and earlier allows remote attackers to cause a denial of service (crash) via a crafted 802.11 frame. NOTE: this was originally referred to as heap-based, but it might be stack-based.
- DSA-1272: tcpdump -- buffer overflow
- FrSIRT/ADV-2007-0793: Tcpdump parse_elements() 802.11 Frame Parsing Remote Buffer Overflow Vulnerability
- FrSIRT/ADV-2007-4238: Apple Mac OS X Code Execution and Information Disclosure Vulnerabilities
- MDKSA-2007:056: Updated tcpdump packages address off-by-one overflow
- MDKSA-2007:155: Updated tcpdump packages fix remote denial of service
- OSVDB ID: 32427: tcpdump 802.11 parse_elements() Function Off-By-One
- RHSA-2007-0368: Moderate: tcpdump security and bug fix update
- RHSA-2007-0387: Moderate: tcpdump security and bug fix update
- SA24318: tcpdump 802.11 "parse_elements()" Off-By-One Vulnerability
- SA28136: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1017717: Tcpdump Off-by-One Heap Overflow Lets Remote Users Deny Service
Reported:
Mar 01, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.
For corrections or additions please email xforce@iss.net
