Published:
21 April 1997
Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-97.046 -- Silicon Graphics Advisory: 19970401-01-PX IRIX gmemusage program 22 April 1997 =========================================================================== Silicon Graphics has released the following advisory concerning a security vulnerability the IRIX gmemusage program. The following security bulletin is provided as a service to AUSCERT's members. As AUSCERT did not write this document, AUSCERT has had no control over its content. As such, the decision to use any or all of this information is the responsibility of each user or organisation, and should be done so in accordance with site policies and procedures. Contact information for Silicon Graphics is included in the Security Bulletin below. If you have any questions or need further information, please contact them directly. If you believe that your system has been compromised, contact AUSCERT or your representative in FIRST (Forum of Incident Response and Security Teams). Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 4477 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AUSCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for emergencies. - --------------------------BEGIN INCLUDED TEXT-------------------- - -----BEGIN PGP SIGNED MESSAGE----- ______________________________________________________________________________ Silicon Graphics Inc. Security Advisory Title: IRIX gmemusage program Number: 19970401-01-PX Date: April 21, 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 provides the information in this Security Advisory on an "AS-IS" basis only, and disclaims all warranties with respect thereto, express, implied or otherwise, including, without limitation, any warranty of merchantability or fitness for a particular purpose. In no event shall SGI be liable for any loss of profits, loss of business, loss of data or for any indirect, special, exemplary, incidental or consequential damages of any kind arising from your 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 gmemusage program distributed in the Developer Toolbox versions 6.0 (based on IRIX 5.3) 6.1 (based on IRIX 6.2) and as part of the eoe.sw.perf subsystem for IRIX 6.1 through 6.4. Silicon Graphics Inc. has investigated the issue and recommends the following steps for neutralizing the exposure. It is HIGHLY RECOMMENDED that these measures be implemented on ALL vulnerable SGI systems running IRIX versions 5.x and 6.x. This issue has been corrected in more recent releases of IRIX and will be corrected in future releases of IRIX. - - -------------- - - --- Impact --- - - -------------- The gmemusage program is used to graphically display a system's memory usage. Developer Toolbox versions 6.0 (based on IRIX 5.3) and 6.1 (based on IRIX 6.2) contain the gmemusage program and source code. With the Developer Toolbox, the gmemusage program can be installed wherever desired and on any IRIX version 5.x through 6.4. With the release of IRIX 6.1, the gmemusage program is part of the eoe.sw.perf subsystem and can be installed on IRIX 6.1, 6.2, 6.3 and 6.4. The eoe.sw.perf is not installed by default. A local account is required in order to exploit this vulnerability both locally and remotely. It is believed that this vulnerability information is not public knowledge and this has afforded SGI the opportunity to fully investigate this issue and provide the following information and solutions. - - -------------------------- - - --- 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 to limit the vulnerability by removing the setuid permission. Once this is done, only root will be able to run this program. 1) Become the root user on the system. % /bin/su - Password: # 2) Check to see where the program is located. # find / -type f -name gmemusage -local -print /usr/local/bin/gmemusage 3) Remove the setuid permissions (in the example here gmemusage was found in the directory /usr/local/bin in step 2. For IRIX 6.1-6.4, the eoe.sw.perf gmemusage program is installed in /usr/sbin). # /bin/chmod u-s /usr/local/bin/gmemusage 4) Return to previous level. # exit $ - - ---------------- - - --- Solution --- - - ---------------- **** IRIX 5.x, 6.0, 6.0.1 and 6.1 **** Unfortunately, there are no patches for these operating system versions. To remove this vulnerability, either the steps above should be performed or the system should be upgraded to a newer operating system version. **** IRIX 6.2 **** For the IRIX operating system version IRIX 6.2 an inst-able patch has been generated and made available via anonymous FTP and your service/support provider. The patch is number 1973 and will install on IRIX 6.2 only. The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its mirror, ftp.sgi.com. Patch 1973 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.1973 Algorithm #1 (sum -r): 27020 7 README.patch.1973 Algorithm #2 (sum): 18313 7 README.patch.1973 MD5 checksum: 70024AC7413E26CCA7688B66CB0DEFA0 Filename: patchSG0001973 Algorithm #1 (sum -r): 57340 1 patchSG0001973 Algorithm #2 (sum): 29215 1 patchSG0001973 MD5 checksum: 781F5B53C56D331B97C04C72E55E8686 Filename: patchSG0001973.eoe_sw Algorithm #1 (sum -r): 39526 181 patchSG0001973.eoe_sw Algorithm #2 (sum): 17423 181 patchSG0001973.eoe_sw MD5 checksum: 96A5675E5CE330EEFECDDCE11718AFAF Filename: patchSG0001973.idb Algorithm #1 (sum -r): 44824 2 patchSG0001973.idb Algorithm #2 (sum): 48660 2 patchSG0001973.idb MD5 checksum: A190C04BFB90CFFB6985D3C6AC66F42E **** IRIX 6.3 **** For the IRIX operating system version IRIX 6.3 an inst-able patch has been generated and made available via anonymous FTP and your service/support provider. The patch is number 1974 and will install on IRIX 6.3 only. The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its mirror, ftp.sgi.com. Patch 1974 can be found in the following directories on the FTP server: ~ftp/Security or ~ftp/Patches/6.3 ##### Checksums #### The actual patch will be a tar file containing the following files: Filename: README.patch.1974 Algorithm #1 (sum -r): 09813 8 README.patch.1974 Algorithm #2 (sum): 23714 8 README.patch.1974 MD5 checksum: 19DCFF52A7B71B27139B1335990298BF Filename: patchSG0001974 Algorithm #1 (sum -r): 27877 1 patchSG0001974 Algorithm #2 (sum): 28160 1 patchSG0001974 MD5 checksum: A516888F72CA44CE53CF450EAA08DC42 Filename: patchSG0001974.eoe_sw Algorithm #1 (sum -r): 33109 174 patchSG0001974.eoe_sw Algorithm #2 (sum): 61465 174 patchSG0001974.eoe_sw MD5 checksum: 71A6021D4DD481E2CEA255BC300CB43F Filename: patchSG0001974.idb Algorithm #1 (sum -r): 21162 2 patchSG0001974.idb Algorithm #2 (sum): 48367 2 patchSG0001974.idb MD5 checksum: A882C99D6E89E6F329DD88673D14E78B **** IRIX 6.4 **** For the IRIX operating system version IRIX 6.4 an inst-able patch has been generated and made available via anonymous FTP and your service/support provider. The patch is number 1975 and will install on IRIX 6.4 only. The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its mirror, ftp.sgi.com. Patch 1975 can be found in the following directories on the FTP server: ~ftp/Security or ~ftp/Patches/6.4 ##### Checksums #### The actual patch will be a tar file containing the following files: Filename: README.patch.1975 Algorithm #1 (sum -r): 49348 8 README.patch.1975 Algorithm #2 (sum): 26377 8 README.patch.1975 MD5 checksum: F6AFB26D388DC5B7D8C2BD21ADC4C5C5 Filename: patchSG0001975 Algorithm #1 (sum -r): 33550 1 patchSG0001975 Algorithm #2 (sum): 29274 1 patchSG0001975 MD5 checksum: D3BDA738FA0202A344FA536E0775AC46 Filename: patchSG0001975.eoe_sw Algorithm #1 (sum -r): 27139 197 patchSG0001975.eoe_sw Algorithm #2 (sum): 47748 197 patchSG0001975.eoe_sw MD5 checksum: AA8B235BCB52188641160A7A3FE15438 Filename: patchSG0001975.idb Algorithm #1 (sum -r): 63814 2 patchSG0001975.idb Algorithm #2 (sum): 48418 2 patchSG0001975.idb MD5 checksum: 76400549B8FEF0A07FA8117AC7836047 - - ------------------------ - - --- Acknowledgments --- - - ------------------------ Silicon Graphics wishes to thank Serge Pachkovsky for his 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 iQCVAwUBM1wQZLQ4cFApAP75AQGbvgQAjgFYZ/Rt7IVhuBIQLafKzZVPdAT+Gy8p Co5KYfMDLsH5mulzva9XxOTJ1CEZSUNVW7TPvoFy5f1QQZimhLaTD71VFMApe0/Z IM5jr81cqU17Cg6ktQ5vr9CnZ7QsBk/NZA4H3Wi83t2Ec8+LQJ71W9o/UnN7wu8f TNcDZajF9hs= =CFv5 - -----END PGP SIGNATURE----- - --------------------------END INCLUDED TEXT-------------------- -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key iQCVAwUBM1zEKyh9+71yA2DNAQGNjQP/dMirkotmGzRSIdT53I7R/I6ElJ1Myo8g QrVmc6s/6Ml++oofKkqffVKgDq9LBfCJMZErnk3bvoKJvGH1+dNskH0WQ285ar5s MTZZMme9/JV8SE7s2BGN7pk+mfEGMSjPcwkDYQe9a8GRkJxQDgW9+Q6vCXmf1OUq GedDwnMM2+8= =N7bQ -----END PGP SIGNATURE-----