Skip Navigation

  • Home
  • Contact us
  • FAQ
  • Glossary
  • Public key
  • Sitemap
  • Cymraeg
  • What's new
CPNI - Centre for the Protection of National Infastructure

Advanced search

  • About CPNI
  • The threats
  • Security planning
  • Methods of attack
  • Protecting your assets
  • Products and services
    • CSIRTUK advisories
      • Advisories archive
    • General protective security publications
    • InfoSec briefings
    • InfoSec technical notes
    • InfoSec vulnerability disclosures
    • Good practice guidelines
    • Viewpoints
    • Information exchanges
    • Risk Management Delivery Group
  • Research
Home > Products and services > CSIRTUK advisories > Advisories archive > May 2005 > Sun Alert Notification: 57795 Security Vulnerability in the WU-FTPD wu_fnmatch Function May Result in a Denial of Service (DoS)

May 2005

Sun Alert Notification: 57795 Security Vulnerability in the WU-FTPD wu_fnmatch Function May Result in a Denial of Service (DoS)

ID: 00449
Ref: 415/2005
Date: 27 May 2005:15:23:22
Version: 1

Title: Sun Alert Notification: 57795 Security Vulnerability in the WU-FTPD wu_fnmatch Function May Result in a Denial of Service (DoS)
Abstract:
Vendors affected: Sun
Operating systems affected: Sun
Applications affected: Sun

Title
=====

Sun Alert Notification: 57795 Security Vulnerability in the WU-FTPD "wu_fnmatch"
Function May Result in a Denial of Service (DoS)

Detail
======

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.




- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================

ESB-2005.0407 -- Sun Alert Notification 57795
Security Vulnerability in the WU-FTPD "wu_fnmatch" Function
May Result in a Denial of Service (DoS)
27 May 2005

===========================================================================



Product: in.ftpd
Publisher: Sun Microsystems
Operating System: Solaris 10
Solaris 9
Impact: Denial of Service
Access: Remote/Unauthenticated
CVE Names: CAN-2005-0256

Original Bulletin:
http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57795-1

- - --------------------------BEGIN INCLUDED TEXT--------------------

Sun(sm) Alert Notification
* Sun Alert ID: 57795
* Synopsis: Security Vulnerability in the WU-FTPD "wu_fnmatch"
Function May Result in a Denial of Service (DoS)
* Category: Security
* Product: Solaris
* BugIDs: 6239487
* Avoidance: Workaround, T-Patch
* State: Engineering Complete
* Date Released: 20-May-2005
* Date Closed:
* Date Modified: 23-May-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

* Solaris 9
* Solaris 10

x86 Platform

* Solaris 9
* Solaris 10

Notes:

1. Solaris 7 and Solaris 8 are not affected by this issue.
2. This issue only impacts the "WU-FTPD" version of in.ftpd(1M).
3. 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

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

Preliminary T-patches are available for the following releases from
http://sunsolve.sun.com/tpatches:

SPARC

* Solaris 9 T-patch T114564-05

x86 Platform

* Solaris 9 T-patch T114565-05

This document refers to one or more preliminary temporary patches
(T-Patches) which are designed to address the concerns identified
herein. Sun has limited experience with these patches due to their
preliminary nature. As such, you should only install the patches on
systems meeting the configurations described above. Sun may release
full patches at a later date, however, Sun is under no obligation
whatsoever to create, release, or distribute any such patch.

5. Resolution

A final resolution is pending completion.

Change History 23-May-2005:

* Updated Relief/Workaround Section

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-2005 Sun Microsystems, Inc., 4150 Network Circle, Santa
Clara, CA 95054 U.S.A. All rights reserved.

- - --------------------------END INCLUDED TEXT--------------------


iQCVAwUBQpazySh9+71yA2DNAQIrWQP/f77qpDU3PntEjCUYHHZRN5NFNI4CMdBO
hRKpZp8pmgbgMJFS204AkIAxr7tfHUg6TM/8QOUg9ZY16S7YjLqdOwMYzowkQoto
1XYqG7SoW4ndkJvgfEsb6HuiDuJzwR3XcrZ+W8Kq17ALalzDNWMROntRkHFAIs5e
4w6lGB+JUt0=
=2qHc
- -----END PGP SIGNATURE-----
  • Accessibility |
  • Terms and conditions |
  • Privacy statement |
  • Data protection act |
  • Freedom of information |