Cisco IOS LPD daemon hostname buffer overflow
| cisco-ios-lpd-bo (37046) |
Description:
Cisco IOS is vulnerable to a stack-based buffer overflow, caused by improper bounds checking by the Line Printer Daemon (LPD). If the LPD daemon is enabled, a remote attacker who has the ability to modify the hostname could send an overly-long router hostname to TCP port 515 to overflow a buffer and execute arbitrary code on the system or cause the device to crash.
Platforms Affected:
- Cisco, IOS prior to 12.2(18)SXF11
- Cisco, IOS prior to 12.4(16a)
- Cisco, IOS prior to 12.4(2)T6
Remedy:
Refer to cisco-sr-20071010-lpd for patch, upgrade or suggested workaround information. See References.
Consequences:
Gain Access
References:
- cisco-sr-20071010-lpd, Cisco Security Response: Cisco IOS Line Printer Daemon (LPD) Protocol Stack Overflow at http://www.cisco.com/warp/public/707/cisco-sr-20071010-lpd.shtml.
- IRM Advisory 024, Cisco IOS LPD Remote Stack Overflow at http://www.irmplc.com/index.php/155-Advisory-024.
- BID-25994: Cisco IOS Multiple Unspecified Stack Overflow Vulnerabilities
- BID-26001: Cisco IOS LPD Remote Buffer Overflow Vulnerability
- CVE-2007-5381: Stack-based buffer overflow in the Line Printer Daemon (LPD) in Cisco IOS before 12.2(18)SXF11, 12.4(16a), and 12.4(2)T6 allow remote attackers to execute arbitrary code by setting a long hostname on the target system, then causing an error message to be printed, as demonstrated by a telnet session to the LPD from a source port other than 515.
- FrSIRT/ADV-2007-3457: Cisco IOS Line Printer Daemon (LPD) Protocol Stack Overflow Vulnerability
- SA27169: Cisco IOS Line Printer Daemon Buffer Overflow Vulnerability
- SECTRACK ID: 1018798: Cisco IOS LPD Protocol Stack Overflow May Let Remote Users Execute Arbitrary Code
- US-CERT VU#230505: Cisco IOS LPD buffer overflow vulnerability
Reported:
Oct 10, 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
