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-04 Commodore Amiga UNIX finger Vulnerability

Original issue date: February 18, 1993
Last revised: September 19, 1997
Attached copyright statement

A complete revision history is at the end of this file. THIS IS A REVISED CERT ADVISORY
IT CONTAINS UPDATED INFORMATION

The CERT Coordination Center has received information concerning a vulnerability in the "finger" program of Commodore Business Machine's Amiga UNIX product. The vulnerability affects Commodore Amiga UNIX versions 1.1, 2.03, 2.1, 2.1p1, 2.1p2, and 2.1p2a. Commodore is aware of the vulnerability, and both a workaround and a patch are available. Affected sites should apply either the workaround or the patch, and directions are provided below.

The Commodore contact e-mail address given in CERT Advisory CA-93.04 was incorrect. This revised advisory provides the correct e-mail address. If you have any further questions, contact David Miller of Commodore via e-mail at davidm@commodore.com .


I. Description

The "finger" command in Amiga UNIX contains a security vulnerability.

II. Impact

Non-privileged users can gain unauthorized access to files.

III. Solution

Commodore has suggested a workaround and a patch, as follows:

  1. Workaround
  2. As root, modify the permission of the existing /usr/bin/finger to prevent misuse.

         # /bin/chmod 0755 /usr/bin/finger
    

  3. Patch
  4. As root, install the "pubsrc" package from the distribution tape.

    In the file, "/usr/src/pub/cmd/finger/src/finger.c", add the line:

         setuid(getuid());
    

    immediately before the line reading:

         display_finger(finger_list);
    

    (Optionally) save a copy of the existing /usr/bin/finger and modify its permission to prevent misuse.

         # /bin/mv /usr/bin/finger /usr/bin/finger.orig
         # /bin/chmod 0755 /usr/bin/finger.orig
    

    In the directory, "/usr/src/pub/cmd/finger", issue the command:

         # cd /usr/src/pub/cmd/finger
         # make install
    


The CERT Coordination Center wishes to thank Commodore Business Machines for their response to this problem.


This document is available from: http://www.cert.org/advisories/CA-1993-04.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