Wu-ftpd MAPPING_CHDIR overflow could allow remote root access
| wu-ftpd-dir-name (3158) |
Description:
Wu-ftpd is vulnerable to a buffer overflow caused by improper bounds checking of directory names supplied by users when the server is compiled to use the MAPPING_CHDIR feature. A remote attacker with the ability to create directories can overflow a buffer and overwrite static memory space to execute arbitrary code on the system with root privileges.
Platforms Affected:
- Beroftpd, BeroFTPd 1.3.2
- Beroftpd, BeroFTPd 1.3.3
- Beroftpd, BeroFTPd 1.3.4
- Washington University, WU-FTPD 2.4.2 Beta18 VR10
- Washington University, WU-FTPD 2.4.2 Beta18 VR11
- Washington University, WU-FTPD 2.4.2 Beta18 VR12
- Washington University, WU-FTPD 2.4.2 Beta18 VR13
- Washington University, WU-FTPD 2.4.2 Beta18 VR14
- Washington University, WU-FTPD 2.4.2 Beta18 VR15
- Washington University, WU-FTPD 2.4.2 Beta18 VR4
- Washington University, WU-FTPD 2.4.2 Beta18 VR5
- Washington University, WU-FTPD 2.4.2 Beta18 VR6
- Washington University, WU-FTPD 2.4.2 Beta18 VR8
- Washington University, WU-FTPD 2.4.2 Beta18 VR9
- Washington University, WU-FTPD 2.4.2 VR16
- Washington University, WU-FTPD 2.4.2 VR17
- Washington University, WU-FTPD 2.5
Remedy:
For FreeBSD 3.2 and earlier:
Upgrade to the latest version of wu-ftpd (3.3-released dated after 1999-08-30 or later), as listed in FreeBSD Security Advisory FreeBSD-SA-99:03. See References.
Consequences:
Gain Access
References:
- AusCERT Advisory AA-99.01, wu-ftpd/BeroFTPD MAPPING_CHDIR Vulnerability at ftp://www.auscert.org.au/security/advisory/AA-1999.01.wu-ftpd.mapping_chdir.vul.
- BugTraq Mailing List, Thu, 26 Aug 1999 13:43:07 -0400, WU-FTPD Security Update at http://archives.neohapsis.com/archives/bugtraq/1999-q3/0593.html.
- Caldera International, Inc. Security Advisory CSSA-1999-027.0, buffer overflow in wu-ftpd-2.5 at ftp://ftp.caldera.com/pub/security/OpenLinux/CSSA-1999:027.0.txt.
- CERT Advisory CA-1999-13, Multiple Vulnerabilities in WU-FTPD at http://www.cert.org/advisories/CA-1999-13.html.
- CIAC Information Bulletin J-065, Wu-ftpd Vulnerability at http://www.ciac.org/ciac/bulletins/j-065.shtml.
- FreeBSD Security Advisory FreeBSD-SA-99:03, Three ftp daemons in ports vulnerable to attack. at ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/old/FreeBSD-SA-99:03.ftpd.asc.
- RHSA-1999:031-01, Another buffer overflow in wu-ftpd is fixed at http://rhn.redhat.com/errata/RHSA-1999-031.html.
- RHSA-1999:043-01, Security problems in WU-FTPD at http://rhn.redhat.com/errata/RHSA-1999-043.html.
- BID-599: Multiple Vendor Wu-Ftpd Buffer Overflow Vulnerability
- CVE-1999-0878: Buffer overflow in WU-FTPD and related FTP servers allows remote attackers to gain root privileges via MAPPING_CHDIR.
Reported:
Aug 26, 1999
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 (IBM 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.
For corrections or additions please email xforce@iss.net
