WU-FTPD SKEY authentication buffer overflow
| wuftpd-skey-bo (13518) |
Description:
Washington University's FTP daemon (WU-FTPD), with SKEY support enabled, is vulnerable to a denial of service, caused by a stack-based buffer overflow in the SKEY authentication. A remote attacker could supply a long *name variable to the skey_challenge function to overflow a buffer and possibly execute arbitrary code on the system with root privileges or cause WU-FTPD daemon to crash.
Platforms Affected:
- Compaq, Tru64 5.1a
- Compaq, Tru64 5.1b
- Debian, Debian Linux 3.0
- RedHat, Enterprise Linux 2.1 AS
- RedHat, Enterprise Linux 2.1 ES
- RedHat, Linux Advanced Workstation 2.1 Itanium
- Turbolinux, Turbolinux Advanced Server 6
- Turbolinux, Turbolinux Server 6.1
- Turbolinux, Turbolinux Workstation 6.0
- Washington University, WU-FTPD 2.6.2
Remedy:
For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest wu-ftpd package (2.6.2-3woody4 or later), as listed in DSA-457-1. See References.
For HP Tru64 UNIX 5.1A and 5.1B:
Apply the appropriate Early Release Patches (ERPs) for your system, as listed in Tru64 Security Bulletin: SSRT4704 and SSRT4705. See References.
As a workaround, disable SKEY or apply the unofficial patch, available from the Securiteam Web site. See References.
Consequences:
Gain Access
References:
- CIAC Information Bulletin 0-119, HP Tru64 UNIX WU-FTPD Security Vulnerabilities at http://www.ciac.org/ciac/bulletins/o-119.shtml.
- SecuriTeam Mailing List, UNIX focus 26 Oct 2003, Wu-FTPd SKEY Stack Overflow Vulnerability at http://www.securiteam.com/unixfocus/6X00Q1P8KC.html.
- BID-8893: Wu-Ftpd S/Key Remote Buffer Overrun Vulnerability
- CVE-2004-0185: Buffer overflow in the skey_challenge function in ftpd.c for wu-ftp daemon (wu-ftpd) 2.6.2 allows remote attackers to cause a denial of service and possibly execute arbitrary code via a s/key (SKEY) request with a long name.
- DSA-457: wu-ftpd -- several vulnerabilities
- RHSA-2004-096: wu-ftpd security update
Reported:
Oct 26, 2003
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
