-----BEGIN PGP SIGNED MESSAGE-----
______________________________________________________________________________
Silicon Graphics Inc. Security Advisory
Title: IRIX 5.x, 6.0, 6.0.1, 6.1, 6.2 csetup Program Vulnerability
Title: CERT(sm) Advisory CA-97.03
Number: 19970101-02-PX
Date: May 5, 1997
______________________________________________________________________________
Silicon Graphics provides this information freely to the SGI user community
for its consideration, interpretation, implementation and use. Silicon
Graphics recommends that this information be acted upon as soon as possible.
Silicon Graphics will not be liable for any indirect, special, or
consequential damages arising from the use of, failure to use or improper
use of any of the instructions or information in this Security Advisory.
______________________________________________________________________________
- -------------------
- --- Description ---
- -------------------
A security vulnerability has been found with the csetup program
found in IRIX 5.x, 6.0, 6.0.1, 6.1, and 6.2.
The csetup program (/usr/Cadmin/bin/csetup) is a graphical system
and network setup and configuration program. The program is designed
to be used by the system root user and other user accounts that have
been designed as "privileged users" per the objectserver and cpeople
program. The csetup program is setuid root to assist "privileged users"
in doing tasks requiring root priviledges.
It is possible to configure the csetup program to run in a debug
mode. As part of this debug mode a logging file is created. Since
the csetup program is run setuid, this file creation becomes a security
vulnerability with the possibility to create or overwrite files.
Silicon Graphics Inc. has investigated the issue and recommends the
following solutions for neutralizing the exposure. It is HIGHLY RECOMMENDED
that these measures be implemented on ALL vulnerable SGI systems running
IRIX versions 5.x, 6.0, 6.0.1, 6.1, 6.2. This issue has been corrected in
IRIX 6.3 and 6.4 and will be corrected in future IRIX releases.
- --------------
- --- Impact ---
- --------------
The csetup program is found installed by default on all IRIX
5.x, 6.0, 6.0.1, 6.1, 6.2 systems.
Root permissions can be obtained on any system which has the
vulnerable /usr/Cadmin/bin/csetup program installed.
Exploitation of this vulnerability requires access to an established
account on the system.
Provided with an established account, the vulnerability can be exploited
locally or remotely.
This issue has been publically disclosed in several public forums
including the BUGTRAQ mailing list.
- --------------------------
- --- Temporary Solution ---
- --------------------------
Although patches are available for this issue, it is realized that
there may be situations where installing the patches immediately many
not be possible.
The steps below can be used as a temporary workaround until patches
can be installed.
1) Become the root user on the system.
% /bin/su -
Password:
#
2) Change the setuid root permissions on the programs
of concern.
# /bin/chmod u-s /usr/Cadmin/bin/csetup
************
*** NOTE ***
************
Removing the setuid root permissions from the csetup
program will prevent non-root users from using the csetup
for setup and configuration operations. This includes
cpeople identified "priviledged users."
3) Return to previous level.
# exit
$
- ----------------
- --- Solution ---
- ----------------
**** IRIX 3.x ****
This version of IRIX is not vulnerable. No action is required.
**** IRIX 4.x ****
This version of IRIX is not vulnerable. No action is required.
**** IRIX 5.0.x, 5.1.x ****
For the IRIX operating systems versions 5.0.x and 5.1.x, an upgrade
to 5.2 or better is required first. When the upgrade is completed,
then the patches described in the following sections can be applied
depending on the final version of the upgrade.
**** IRIX 5.2 ****
For the IRIX operating system version 5.2, an inst-able patch has been
generated and made available via anonymous FTP and your service/support
provider. The patch is number 1754 and will install only on IRIX 5.2.
The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its
mirror, ftp.sgi.com. Patch 1754 can be found in the following
directories on the FTP server:
~ftp/Security
or
~ftp/Patches/5.2
##### Checksums ####
The actual patch will be a tar file containing the following files:
Filename: README.patch.1754
Algorithm #1 (sum -r): 02298 9 README.patch.1754
Algorithm #2 (sum): 4311 9 README.patch.1754
MD5 checksum: 91F6B5EF4E28601F6F5B0BA7FCC60F05
Filename: patchSG0001754
Algorithm #1 (sum -r): 36996 2 patchSG0001754
Algorithm #2 (sum): 2278 2 patchSG0001754
MD5 checksum: FE38D83EF39C24E9957174D40778CC84
Filename: patchSG0001754.desktop_eoe_sw
Algorithm #1 (sum -r): 11539 7 patchSG0001754.desktop_eoe_sw
Algorithm #2 (sum): 58449 7 patchSG0001754.desktop_eoe_sw
MD5 checksum: DD891AA74B5A9326FC56451C8E6574BC
Filename: patchSG0001754.idb
Algorithm #1 (sum -r): 10077 11 patchSG0001754.idb
Algorithm #2 (sum): 10878 11 patchSG0001754.idb
MD5 checksum: 26BB76AF0614470363974E165F2AF185
Filename: patchSG0001754.sysadmdesktop_sw
Algorithm #1 (sum -r): 24443 1681 patchSG0001754.sysadmdesktop_sw
Algorithm #2 (sum): 28260 1681 patchSG0001754.sysadmdesktop_sw
MD5 checksum: AEE458C8636787693A3AEA7F999F3811
**** IRIX 5.3 ****
For the IRIX operating system version 5.3, an inst-able patch has been
generated and made available via anonymous FTP and your service/support
provider. The patch is number 1751 and will install only on IRIX 5.3.
The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its
mirror, ftp.sgi.com. Patch 1751 can be found in the following
directories on the FTP server:
~ftp/Security
or
~ftp/Patches/5.3
##### Checksums ####
The actual patch will be a tar file containing the following files:
Filename: README.patch.1751
Algorithm #1 (sum -r): 27916 9 README.patch.1751
Algorithm #2 (sum): 19331 9 README.patch.1751
MD5 checksum: 88545535FDFBA1CF13185574BBCE89B2
Filename: patchSG0001751
Algorithm #1 (sum -r): 15185 3 patchSG0001751
Algorithm #2 (sum): 30882 3 patchSG0001751
MD5 checksum: BF09436F9EFFD8656D091072AD0AF7B8
Filename: patchSG0001751.desktop_eoe_sw
Algorithm #1 (sum -r): 61424 108 patchSG0001751.desktop_eoe_sw
Algorithm #2 (sum): 18298 108 patchSG0001751.desktop_eoe_sw
MD5 checksum: B54CFF60CC366E77633729F6F678D89D
Filename: patchSG0001751.idb
Algorithm #1 (sum -r): 64366 12 patchSG0001751.idb
Algorithm #2 (sum): 50303 12 patchSG0001751.idb
MD5 checksum: EA9732CE87EC4CF595AAFB99FCAD626C
Filename: patchSG0001751.sysadmdesktop_sw
Algorithm #1 (sum -r): 25676 2872 patchSG0001751.sysadmdesktop_sw
Algorithm #2 (sum): 47832 2872 patchSG0001751.sysadmdesktop_sw
MD5 checksum: AA56293C87F356F36D242A456519C6A6
**** IRIX 6.1 ****
For the IRIX operating system version 6.1, an inst-able patch has been
generated and made available via anonymous FTP and your service/support
provider. The patch is number 1752 and will install only on IRIX 6.1.
The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its
mirror, ftp.sgi.com. Patch 1752 can be found in the following
directories on the FTP server:
~ftp/Security
or
~ftp/Patches/6.1
##### Checksums ####
The actual patch will be a tar file containing the following files:
Filename: README.patch.1752
Algorithm #1 (sum -r): 42942 9 README.patch.1752
Algorithm #2 (sum): 4305 9 README.patch.1752
MD5 checksum: D44673631AF2CB4307D943FE0CE3FA1B
Filename: patchSG0001752
Algorithm #1 (sum -r): 63770 2 patchSG0001752
Algorithm #2 (sum): 6993 2 patchSG0001752
MD5 checksum: 55D100093FB589A700E255096101E552
Filename: patchSG0001752.desktop_eoe_sw
Algorithm #1 (sum -r): 03764 106 patchSG0001752.desktop_eoe_sw
Algorithm #2 (sum): 20836 106 patchSG0001752.desktop_eoe_sw
MD5 checksum: 6E683D20DEEFE9F11E7C70CF798DC05E
Filename: patchSG0001752.idb
Algorithm #1 (sum -r): 44444 11 patchSG0001752.idb
Algorithm #2 (sum): 24120 11 patchSG0001752.idb
MD5 checksum: C3E0E359958309C8BE78C01A1BABF7F2
Filename: patchSG0001752.sysadmdesktop_sw
Algorithm #1 (sum -r): 14096 2848 patchSG0001752.sysadmdesktop_sw
Algorithm #2 (sum): 63751 2848 patchSG0001752.sysadmdesktop_sw
MD5 checksum: 7BBF9EEB3CA09610EF585A2A6E8E567E
**** IRIX 6.2 ****
For the IRIX operating system version 6.2, an inst-able patch has been
generated and made available via anonymous FTP and your service/support
provider. The patch is number 1753 and will install only on IRIX 6.2.
The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its
mirror, ftp.sgi.com. Patch 1753 can be found in the following
directories on the FTP server:
~ftp/Security
or
~ftp/Patches/6.2
##### Checksums ####
The actual patch will be a tar file containing the following files:
Filename: README.patch.1753
Algorithm #1 (sum -r): 24454 9 README.patch.1753
Algorithm #2 (sum): 4319 9 README.patch.1753
MD5 checksum: EB0BBC4258E68F10C373B0972AE55394
Filename: patchSG0001753
Algorithm #1 (sum -r): 24051 2 patchSG0001753
Algorithm #2 (sum): 13058 2 patchSG0001753
MD5 checksum: CF8DE7471FAB609DF6AA16A74687F673
Filename: patchSG0001753.desktop_eoe_sw
Algorithm #1 (sum -r): 00728 106 patchSG0001753.desktop_eoe_sw
Algorithm #2 (sum): 59678 106 patchSG0001753.desktop_eoe_sw
MD5 checksum: 0D558206D1C4C767B3B51054AAAD0861
Filename: patchSG0001753.idb
Algorithm #1 (sum -r): 55921 11 patchSG0001753.idb
Algorithm #2 (sum): 24555 11 patchSG0001753.idb
MD5 checksum: 920F31FE9B805D0CE260CE9950F93075
Filename: patchSG0001753.sysadmdesktop_sw
Algorithm #1 (sum -r): 52792 2859 patchSG0001753.sysadmdesktop_sw
Algorithm #2 (sum): 54670 2859 patchSG0001753.sysadmdesktop_sw
MD5 checksum: 78A186F052851EBD7CD3E1408B1548D5
- ------------------------
- --- Acknowledgments ---
- ------------------------
Silicon Graphics wishes to thank the CERT Coordination Center and
AUSCERT for their assistance in this matter.
- -----------------------------------------
- --- SGI Security Information/Contacts ---
- -----------------------------------------
If there are questions about this document, email can be sent to
cse-security-alert@csd.sgi.com.
------oOo------
Silicon Graphics provides security information and patches for
use by the entire SGI community. This information is freely
available to any person needing the information and is available
via anonymous FTP and the Web.
The primary SGI anonymous FTP site for security information and patches
is sgigate.sgi.com (204.94.209.1). Security information and patches
are located under the directories ~ftp/security and ~ftp/patches,
respectively. The Silicon Graphics Security Headquarters Web page is
accessible at the URL http://www.sgi.com/Support/Secur/security.html.
For issues with the patches on the FTP sites, email can be sent to
cse-security-alert@csd.sgi.com.
For assistance obtaining or working with security patches, please
contact your SGI support provider.
------oOo------
Silicon Graphics provides a free security mailing list service
called wiretap and encourages interested parties to self-subscribe
to receive (via email) all SGI Security Advisories when they are
released. Subscribing to the mailing list can be done via the Web
(http://www.sgi.com/Support/Secur/wiretap.html) or by sending email
to SGI as outlined below.
% mail wiretap-request@sgi.com
subscribe wiretap <YourEmailAddress>
end
^d
In the example above, <YourEmailAddress> is the email address that you
wish the mailing list information sent to. The word end must be on a
separate line to indicate the end of the body of the message. The
control-d (^d) is used to indicate to the mail program that you are
finished composing the mail message.
------oOo------
Silicon Graphics provides a comprehensive customer World Wide Web site.
This site is located at http://www.sgi.com/Support/Secur/security.html.
------oOo------
For reporting *NEW* SGI security issues, email can be sent to
security-alert@sgi.com or contact your SGI support provider. A
support contract is not required for submitting a security report.
______________________________________________________________________________
This information is provided freely to all interested parties and may
be redistributed provided that it is not altered in any way, Silicon
Graphics is appropriately credited and the document retains and
includes its valid PGP signature.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBM2494bQ4cFApAP75AQFscwP9Ed2frC4n0xEMX3bGdC5tN2OQLlwTPH9Y
N3rOhEfd8QDq1rDWci2U1zMNX996gD28M1iyTHFik9G+h5cllFG/Ox2ClaDYi+d0
OIaZRKUxice+N/y5l6BlhDWOT1f+H1s1z4+91YQNclnaH3foZyI4Pgbg3tK7ctsb
QSKS24CTqy0=
=aVRP
-----END PGP SIGNATURE-----