CERT
 
Publications Catalog Historical Documents Authorized Users of "CERT" US-CERT Vulnerability Notes Database Vulnerability Disclosure Policy Courses Link to US-CERT cylab
 

CERT® Advisory CA-1993-06 wuarchive ftpd Vulnerability

Original issue date: April 9, 1993
Last revised: September 19, 1997
Attached copyright statement

A complete revision history is at the end of this file.

The CERT Coordination Center has received information concerning a vulnerability in versions of wuarchive ftpd available before April 8, 1993. Vulnerable wuarchive ftpd versions were available from wuarchive.wustl.edu:/packages/ftpd.wuarchive.shar and many other anonymous FTP sites.

We strongly recommend that any site using versions of wuarchive ftpd dating prior to April 8, 1993, immediately take corrective action or remove this service.


I. Description

A vulnerability exists in the access control mechanism in this version of ftpd.

II. Impact

Anyone (remote or local) can potentially gain access to any account including root on a host running this version of ftpd.

III. Solution

Affected sites may choose to disable anonymous FTP service until they have corrected this problem.

Affected sites can correct this problem through one of the following two procedures:

  1. A new version of ftpd has been released that provides new features and also fixes this security problem. Sites can obtain this new version via anonymous FTP from wuarchive.wustl.edu (128.252.135.4). The files are located in:

                                                  Size      Checksum
    /packages/wuarchive-ftpd/wu-ftpd-2.0.shar    421953      08786
    /packages/wuarchive-ftpd/wu-ftpd-2.0.tar     491520      27466
    

  2. Make modifications to your existing wuarchive ftpd sources using the diff output provided below, recompile and install according to the instructions provided.

    *** ftpd.c.orig
    - --- ftpd.c
    ***************
    *** 413,418 ****
    - --- 413,420 ----
                    end_login();
            }
      
    +       anonymous = 0;
    + 
            if (!strcasecmp(name, "ftp") || !strcasecmp(name, "anonymous")) {
                    if (checkuser("ftp") || checkuser("anonymous")) {
                            reply(530, "User %s access denied.", name);
    


The CERT Coordination Center wishes to thank Scott Paisley, Computer Systems Support Manager, Factory Automated Systems Division, N.I.S.T., for informing us of this vulnerability. We would also like to thank Chris Myers, Washington University, for his quick response to this problem.
This document is available from: http://www.cert.org/advisories/CA-1993-06.html

CERT/CC Contact Information

Email: cert@cert.org
Phone: +1 412-268-7090 (24-hour hotline)
Fax: +1 412-268-6989
Postal address:
CERT Coordination Center
Software Engineering Institute
Carnegie Mellon University
Pittsburgh PA 15213-3890
U.S.A.

CERT/CC personnel answer the hotline 08:00-17:00 EST(GMT-5) / EDT(GMT-4) Monday through Friday; they are on call for emergencies during other hours, on U.S. holidays, and on weekends.

Using encryption

We strongly urge you to encrypt sensitive information sent by email. Our public PGP key is available from

If you prefer to use DES, please call the CERT hotline for more information.

Getting security information

CERT publications and other security information are available from our web site

* "CERT" and "CERT Coordination Center" are registered in the U.S. Patent and Trademark Office.


NO WARRANTY
Any material furnished by Carnegie Mellon University and the Software Engineering Institute is furnished on an "as is" basis. Carnegie Mellon University makes no warranties of any kind, either expressed or implied as to any matter including, but not limited to, warranty of fitness for a particular purpose or merchantability, exclusivity or results obtained from use of the material. Carnegie Mellon University does not make any warranty of any kind with respect to freedom from patent, trademark, or copyright infringement.


Conditions for use, disclaimers, and sponsorship information

Copyright 1993 Carnegie Mellon University.


Revision History
September 19, 1997  Attached Copyright Statement