PROBLEM: A security vulnerability has been found with the csetup program. PLATFORM: IRIX 5.x, 6.0, 6.0.1, 6.1, 6.2 DAMAGE: Local or remote users may gain root privileges. SOLUTION: Apply patches or workaround as indicated below.
VULNERABILITY Exploit details involving this vulnerability have been made ASSESSMENT: publicly available.
[ ***** Start Silicon Graphics Inc. Advisory ***** ] ______________________________________________________________________________ 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 [ ***** End Silicon Graphics Inc. Advisory ***** ]
For additional information or assistance, please contact CIAC:
Voice: +1 510-422-8193 (8:00 - 18:00 PST, 16:00 - 2:00 GMT) Emergency (DOE, DOE Contractors, and NIH ONLY): 1-800-759-7243, 8550070 (primary), 8550074 (secondary) FAX: +1 510-423-8002 STU-III: +1 510-423-2604 E-mail: ciac@llnl.gov World Wide Web: http://ciac.llnl.gov/ Anonymous FTP: ciac.llnl.gov (128.115.19.53) Modem access: +1 (510) 423-4753 (28.8K baud) +1 (510) 423-3331 (28.8K baud)