CERT® Advisory CA-1991-06 NeXT rexd, /private/etc, Username me VulnerabilitiesOriginal issue date: May 14, 1991
Last revised: September 18, 1997
Attached copyright statement
A complete revision history is at the end of this file.
The Computer Emergency Response Team/Coordination Center (CERT/CC) and NeXT Computer, Inc. have received information concerning three vulnerabilities in NeXT computers running various releases (see below) of NeXTstep software. For more information, please contact your authorized support center. If you are an authorized support provider, please contact NeXT through your normal channels.
PROBLEM 1 DescriptionBy default, rexd(8C) is enabled in NeXTstep versions 2.0 and 2.1.
(Note that no NeXT software uses rexd.)
PROBLEM 1 ImpactLeaving rexd enabled allows remote users to execute processes on a NeXT computer.
PROBLEM 1 SolutionComment out or remove the rexd line in /etc/inetd.conf (unless you're using the remote execution facility), and either restart the computer or cause inetd to re-read it's configuration file, using:
kill -HUP <inetd pid>
PROBLEM 2 DescriptionThe /private/etc directory is shipped with group write permission enabled in all NeXTstep versions through and including 2.1.
PROBLEM 2 ImpactGroup write permission in /private/etc enables any user in the "wheel" group to modify files in the /private/etc directory.
PROBLEM 2 SolutionTurn off group write permission for the /private/etc directory, using the command:
chmod g-w /private/etcor the equivalent operations from the Workspace Manager's Inspector panel.
PROBLEM 3 DescriptionUsername "me" is a member of the "wheel" group in all NeXTstep versions through and including 2.1.
PROBLEM 3 ImpactHaving username "me" in the "wheel" group enables "me" to use the su(8) command to become root (the user must still know the root password, however).
PROBLEM 3 SolutionUnless you have specific reason(s) not to, remove the user "me" from the wheel group.
The CERT/CC would like to thank NeXT Computer, Inc. for their response to this vulnerability. CERT/CC would also like to thank Fuat Baran for his technical assistance.
This document is available from: http://www.cert.org/advisories/CA-1991-06.html
CERT/CC Contact Information
Phone: +1 412-268-7090 (24-hour hotline)
Fax: +1 412-268-6989
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.
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.
Conditions for use, disclaimers, and sponsorship information
Copyright 1991 Carnegie Mellon University.
September 18,1997 Attached Copyright Statement