Bugtraq mailing list archives

IRIX at(1) vulnerability


From: agent99 () BOYTOY CSD SGI COM (SGI Security Coordinator)
Date: Mon, 5 Oct 1998 21:24:47 GMT


-----BEGIN PGP SIGNED MESSAGE-----

______________________________________________________________________________
                Silicon Graphics Inc. Security Advisory

        Title:   IRIX at(1) vulnerability
        Title:   NetBSD Security Advisory 1998-004
        Number:  19981001-01-PX
        Date:    October 5, 1998
_____________________________________________________________________________

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
Silicon Graphics 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.
______________________________________________________________________________

- ------------------------
- ---- Issue Specifics ---
- ------------------------

The at(1) program is used to execute commands at a later time.

Unfortunately, a vulnerability has been discovered in the at(1) program that
allows any file on the system to be read.

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.  This
issue will be corrected in future releases of IRIX.


- ---------------
- ---- Impact ---
- ---------------

The at(1) program is installed by default on all IRIX systems.

Only IRIX 6.2, 6.4, 6.5 and 6.5.1 are vulnerable.

A local account is required in order to exploit the at(1) vulnerability
locally and remotely.

The vulnerability allows a local user to read any file on the system.

This vulnerability was reported by NetBSD Security Advisory 1998-004.

This vulnerability has been publically discussed in Usenet newsgroups
and mailing lists.



- ---------------------------
- ---- Temporary Solution ---
- ---------------------------

Although patches are available for this issue, it is realized that
there may be situations where installing the patches immediately may
not be possible.

The steps below can be used to minimize the vulnerability by restricting access
to the vulnerable program.


     1) Become the root user on the system.

              % /bin/su -
              Password:
              #


     2) Change the permissions on the vulnerable program.

              # /bin/chmod 500 /usr/bin/at


                           ************
                           *** NOTE ***
                           ************

            Removing group and other permissions from the vulnerable program
            will prevent non-root users from accessing the at(1) program.


     3) Verify the new permissions on the program.
        Note that the program size may be different depending on release.

              # ls -al /usr/bin/at
              -r-x------ 1 root sys 37896 Feb 20 16:53 at



     4) Return to the previous user level.

              # exit
              %





- -----------------
- ---- Solution ---
- -----------------

   OS Version     Vulnerable?     Patch #      Other Actions
   ----------     -----------     -------      -------------

   IRIX 3.x          no
   IRIX 4.x          no
   IRIX 5.0.x        no
   IRIX 5.1.x        no
   IRIX 5.2          no
   IRIX 5.3          no
   IRIX 6.0.x        no
   IRIX 6.1          no
   IRIX 6.2          yes           3182
   IRIX 6.3          no
   IRIX 6.4          yes           3184
   IRIX 6.5          yes           3286
   IRIX 6.5.1        yes           3286        Note 1


   NOTES

   1) If you have not received an IRIX 6.5.1m CD for IRIX 6.5, contact your
      SGI Support Provider or download the IRIX 6.5.1 Maintenance Release
      Stream from http://support.sgi.com/

Patches are available via anonymous FTP and your service/support provider.

The primary SGI anonymous FTP site for security information and patches
is sgigate.sgi.com (204.94.209.1). Security information and patches can be
found in the ~ftp/security and ~ftp/patches directories, respectively.

For security and patch management reasons, ftp.sgi.com (mirror of sgigate) lags
behind and does not do a real-time update of ~ftp/security and ~ftp/patches.


                 ##### Patch File Checksums ####

The actual patch will be a tar file containing the following files:
Filename:                 README.patch.3182
Algorithm #1 (sum -r):    30850 16 README.patch.3182
Algorithm #2 (sum):       15553 16 README.patch.3182
MD5 checksum:             3B34D52857D8A561AA21BE5819112251

Filename:                 patchSG0003182
Algorithm #1 (sum -r):    29381 10 patchSG0003182
Algorithm #2 (sum):       25835 10 patchSG0003182
MD5 checksum:             014FB79336A21F776D4616A40D5ED66A

Filename:                 patchSG0003182.dev_sw
Algorithm #1 (sum -r):    29421 167 patchSG0003182.dev_sw
Algorithm #2 (sum):       60245 167 patchSG0003182.dev_sw
MD5 checksum:             F12045EED76A42D9E534473DE145F300

Filename:                 patchSG0003182.eoe_man
Algorithm #1 (sum -r):    49928 732 patchSG0003182.eoe_man
Algorithm #2 (sum):       2181 732 patchSG0003182.eoe_man
MD5 checksum:             29BDDCEBB3F538BD1417656D68B1C205

Filename:                 patchSG0003182.eoe_sw
Algorithm #1 (sum -r):    50376 4005 patchSG0003182.eoe_sw
Algorithm #2 (sum):       8225 4005 patchSG0003182.eoe_sw
MD5 checksum:             172E2B997C5383F5D8935CC8A3BDF3E0

Filename:                 patchSG0003182.idb
Algorithm #1 (sum -r):    51467 32 patchSG0003182.idb
Algorithm #2 (sum):       38073 32 patchSG0003182.idb
MD5 checksum:             F6189FD617CEDA6825B1B5DF86445CC6


Filename:                 README.patch.3184
Algorithm #1 (sum -r):    20261 14 README.patch.3184
Algorithm #2 (sum):       29975 14 README.patch.3184
MD5 checksum:             125A7A950DFC9097C6C09D1968E136E4

Filename:                 patchSG0003184
Algorithm #1 (sum -r):    37152 8 patchSG0003184
Algorithm #2 (sum):       57889 8 patchSG0003184
MD5 checksum:             BA06CC50BE4F60977973DB78881CB2A7

Filename:                 patchSG0003184.eoe_man
Algorithm #1 (sum -r):    36008 213 patchSG0003184.eoe_man
Algorithm #2 (sum):       56912 213 patchSG0003184.eoe_man
MD5 checksum:             0B0A1B17A8072222CC98894E2B8B7367

Filename:                 patchSG0003184.eoe_sw
Algorithm #1 (sum -r):    32191 1341 patchSG0003184.eoe_sw
Algorithm #2 (sum):       60291 1341 patchSG0003184.eoe_sw
MD5 checksum:             CF1146018BD54154AE99CECE36CCF526

Filename:                 patchSG0003184.idb
Algorithm #1 (sum -r):    05813 14 patchSG0003184.idb
Algorithm #2 (sum):       42422 14 patchSG0003184.idb
MD5 checksum:             9F1D2A06C70BA5487D730E7DFBEB58B6


Filename:                 README.patch.3286
Algorithm #1 (sum -r):    55256 8 README.patch.3286
Algorithm #2 (sum):       29002 8 README.patch.3286
MD5 checksum:             73A6F76CD6D1AF8331A7B831C3D97BDB

Filename:                 patchSG0003286
Algorithm #1 (sum -r):    61030 1 patchSG0003286
Algorithm #2 (sum):       34259 1 patchSG0003286
MD5 checksum:             3B58695C1E6B10C2D0C81FA6179B3BB0

Filename:                 patchSG0003286.eoe_sw
Algorithm #1 (sum -r):    10812 61 patchSG0003286.eoe_sw
Algorithm #2 (sum):       45331 61 patchSG0003286.eoe_sw
MD5 checksum:             03773FA9D7AF436D7CC42044721E242C

Filename:                 patchSG0003286.idb
Algorithm #1 (sum -r):    08036 1 patchSG0003286.idb
Algorithm #2 (sum):       33655 1 patchSG0003286.idb
MD5 checksum:             6E038D350913318648C823ED84B523E6


- -------------------------
- ---- Acknowledgments ---
- -------------------------

Silicon Graphics wishes to thank the Internet community at large for their
assistance in this matter.


- ------------------------------------------------------------
- ---- Silicon Graphics Inc. Security Information/Contacts ---
- ------------------------------------------------------------

If there are questions about this document, email can be sent to
cse-security-alert () 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/security/security.html.

For issues with the patches on the FTP sites, email can be sent to
cse-security-alert () 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/security/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/security/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

iQCVAwUBNhk07rQ4cFApAP75AQGkEgP/WPUji1A2TBOF98ADOQUcqO6Sd2L2lQPo
8MOSpyBUXzfQ8hstwblLVMhCDbDrdweYyMJCwj1cILULcLnek/zikmP/tov8nFXx
WB1DkYdvMTcP0Tf/4p7mDBDFm8H8BEK7IRGExQBsKIuIfTIJPcLWgREwWLWjRp34
tvUyTU0tyhY=
=o/VI
-----END PGP SIGNATURE-----



Current thread: