- Sun Alert ID: 101699 (formerly 57795)
- Synopsis: Security Vulnerability in the WU-FTPD "wu_fnmatch" Function May Result in a Denial of Service (DoS)
- Category: Security
- Product: Solaris 9 Operating System, Solaris 10 Operating System
- BugIDs: 6239487
- Avoidance: Patch, Workaround
- State: Resolved
- Date Released: 20-May-2005, 06-Jul-2005
- Date Closed: 06-Jul-2005
- Date Modified: 23-May-2005, 08-Jun-2005, 06-Jul-2005
1. Impact
The Solaris 9 and Solaris 10 FTP Server, in.ftpd(1M), is based on WU-FTPD (Washington University ftpd) and are affected by a security vulnerability in the "wu_fnmatch" function which may allow a local or remote unprivileged user the ability to cause a Denial of Service (DoS) by consuming a large amount of CPU resources.
Additional information on this issue can be found in the following documents:
- CAN-2005-0256 (see: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0256)
- iDEFENSE Security Advisory 02.25.05 (see: http://www.idefense.com/application/poi/display?id=207&type=vulnerabilities)
2. Contributing Factors
This issue can occur in the following releases:
SPARC Platform
x86 Platform
Notes:
- Solaris 7 and Solaris 8 are not affected by this issue.
- This issue only impacts the "WU-FTPD" version of in.ftpd(1M).
- This issue only affects systems which are enabled as in.ftpd(1M) servers.
3. Symptoms
If the described issue occurs, the CPU utilization will go up to 100% and the prstat(1M) command will show that the "in.ftpd" process is consuming a lot of CPU time.
Symptoms similar to the following may be seen:
- Slow running applications
- Delayed response from the terminals
- Slow response over the network
| Solution Summary | Top |
4. Relief/Workaround
To work around the described issue, disable ftp(1) service by doing the following:
On Solaris 9
1. Login as root.
2. Edit the "/etc/inetd.conf" file and comment out the line starting with "ftp".
3. Tell the inetd(1M) process to reread the newly modified "/etc/inetd.conf" file by sending it a hangup signal, SIGHUP:
# pkill -HUP inetd
On Solaris 10
1. Login as root.
2. Disable the in.ftpd(1M) server using the following command:
# svcadm disable ftp
5. Resolution
This issue is addressed in the following releases:
SPARC Platform
x86 Platform
Change History
-
Updated Relief/Workaround section
- Updated Contributing Factors and Relief/Workaround sections
- State: Resolved
- Updated Contributing Factors and Resolution Sections
This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements.
Copyright 2000-2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.

Sun Contracted Content
Sun Contracted Feature
