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

===========================================================================
              AUSCERT External Security Bulletin Redistribution

                             
            ESB-97.007 -- SGI Advisory on XFS Filesystem Security
                               9 January 1997

===========================================================================

Silicon Graphics Inc has released the following advisory concerning a
security issue in the XFS filesystem under all supported versions of IRIX.
This vulnerability may allow users with a local account to truncate files.

AUSCERT advises that all sites apply the appropriate patches described in
the advisory as soon as possible.

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--------------------

______________________________________________________________________________
                Silicon Graphics Inc. Security Advisory

        Title:   XFS Filesystem Security
        Number:  19970102-01-PX
        Date:    January 9, 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.
______________________________________________________________________________


Silicon Graphics Engineering and Worldwide Customer Service divisions
have become aware of a potential security issue within the XFS filesystem
available for IRIX 5.3, 6.1, 6.2, 6.3 and 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 SGI systems running IRIX versions
5.3, 6.1, 6.2, 6.3 and 6.4.  This issue will be corrected in future releases
of IRIX.




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


The XFS filesystem is an SGI specific architecture for organizing and
accessing files on a local physical system.  The XFS filesystem is an
optional product for IRIX versions 5.3 and 6.1 but is the default
filesystem for IRIX 6.2, 6.3 and 6.4.

Silicon Graphics systems that are using XFS filesystems may be
vulnerable to a security issue where files may be truncated.

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.




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

Please, note that this security issue is only applicable *IFF* the
XFS filesystem software is installed *and* XFS filesystems are in
use on the system.

To determine if the XFS Filesystem software is installed on a
particular system, the following command can be used:


   % /usr/sbin/versions -Inv | grep -i sw.xfs

   I  eoe2.sw.xfs   09/16/96  XFS Filesystem


In the above case, the XFS filesystem software is installed and
the next step is to determine if a XFS filesystem is being used
on the system.

If no output is returned by the versions command, the XFS filesystem
software is not installed and no further action is required.

To determine if a XFS filesystem is being used on the system, the
following command can be used:

   % /etc/mount | grep -i xfs

   /dev/root on / type xfs (rw,raw=/dev/rroot)

In the above case, there is an XFS filesystem in use on the system
and the following steps can be used to neutralize the exposure by
installing the recommended patches below.

If no output is returned by the mount command, there is not an
XFS filesystem in use on the system.  Although at this time no
further action is required, in the future, if an XFS filesystem is
used on the system, the steps below should be used.

Unfortunately, there are no immediate or temporary workarounds for
this issue.  The issue can only be addressed with a patch.



**** IRIX 3.x, 4.x, 5.0.x, 5.1.x, and 5.2 ****

The XFS file system was not available for these versions of IRIX
and therefore are not vulnerable.  No further action is required.



**** 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 1409 and will
install on IRIX 5.3 only.

The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its
mirror, ftp.sgi.com.   Patch 1409 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.1409
Algorithm #1 (sum -r):    16070 30 README.patch.1409
Algorithm #2 (sum):       30025 30 README.patch.1409
MD5 checksum:             760B0360850D998344E92986E8CD67F7

Filename:                 patchSG0001409
Algorithm #1 (sum -r):    64133 2 patchSG0001409
Algorithm #2 (sum):       60012 2 patchSG0001409
MD5 checksum:             1D0B92D84EFB72D86CDD3755E129CCBA

Filename:                 patchSG0001409.eoe2_sw
Algorithm #1 (sum -r):    45878 3977 patchSG0001409.eoe2_sw
Algorithm #2 (sum):       36715 3977 patchSG0001409.eoe2_sw
MD5 checksum:             185D616DA7934E0A8887A3AC8FDC7896

Filename:                 patchSG0001409.idb
Algorithm #1 (sum -r):    45250 5 patchSG0001409.idb
Algorithm #2 (sum):       39612 5 patchSG0001409.idb
MD5 checksum:             48C3EC7CEFB97CEEC2D3D9AB2CA43A6C


**** IRIX 6.0.x ****

For the IRIX operating system versions 6.0.x, an upgrade to 6.1 or
better is required first.  When the upgrade is completed, then the
security patches described in the following sections can be applied
depending on the final version of the upgrade.



**** 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 1674 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 1674 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.1674
Algorithm #1 (sum -r):    08335 18 README.patch.1674
Algorithm #2 (sum):       57168 18 README.patch.1674
MD5 checksum:             AA2736681CE2B5DD322ACE30C2B6D2AA

Filename:                 patchSG0001674
Algorithm #1 (sum -r):    23951 1 patchSG0001674
Algorithm #2 (sum):       28813 1 patchSG0001674
MD5 checksum:             E42C04769BA63E0DF71B65B9B1AF629E

Filename:                 patchSG0001674.eoe2_sw
Algorithm #1 (sum -r):    50333 3532 patchSG0001674.eoe2_sw
Algorithm #2 (sum):       31735 3532 patchSG0001674.eoe2_sw
MD5 checksum:             B20E27CC6ACD9E1953C66660E0B10A14

Filename:                 patchSG0001674.idb
Algorithm #1 (sum -r):    28159 5 patchSG0001674.idb
Algorithm #2 (sum):       37951 5 patchSG0001674.idb
MD5 checksum:             2B924FB8E10BB8E74F831797A074CC71

Filename:                 sa
Algorithm #1 (sum -r):    38223 63920 sa
Algorithm #2 (sum):       22689 63920 sa
MD5 checksum:             B1C7F13D001EC31F69C65EFE7824F6AA



**** 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 1667 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 1667 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.1667
Algorithm #1 (sum -r):    01427 35 README.patch.1667
Algorithm #2 (sum):       37097 35 README.patch.1667
MD5 checksum:             DFDA305CA99FCC44D17823D77F980D96

Filename:                 patchSG0001667
Algorithm #1 (sum -r):    54840 7 patchSG0001667
Algorithm #2 (sum):       54999 7 patchSG0001667
MD5 checksum:             7480E20EACFA420EEE2554B0380C9BBE

Filename:                 patchSG0001667.dev_man
Algorithm #1 (sum -r):    25049 47 patchSG0001667.dev_man
Algorithm #2 (sum):       29146 47 patchSG0001667.dev_man
MD5 checksum:             8EE5EF7E41D11A1740FAC67ED703D655

Filename:                 patchSG0001667.eoe_man
Algorithm #1 (sum -r):    48662 108 patchSG0001667.eoe_man
Algorithm #2 (sum):       51295 108 patchSG0001667.eoe_man
MD5 checksum:             CEF291C78FE59378901245C617DD012B

Filename:                 patchSG0001667.eoe_sw
Algorithm #1 (sum -r):    37464 11730 patchSG0001667.eoe_sw
Algorithm #2 (sum):       2498 11730 patchSG0001667.eoe_sw
MD5 checksum:             8521A642B3D0DC551DBD233913F5ED8B

Filename:                 patchSG0001667.idb
Algorithm #1 (sum -r):    10650 35 patchSG0001667.idb
Algorithm #2 (sum):       42657 35 patchSG0001667.idb
MD5 checksum:             77FA0133F21139255F9A8DCC7169E67E

Filename:                 sa
Algorithm #1 (sum -r):    10184 59688 sa
Algorithm #2 (sum):       36319 59688 sa
MD5 checksum:             EE51AC91A017C7E2BBF04DCE768C01AF


**** IRIX "6.3 for O2" ****

IRIX operating system version "6.3 for O2" is a limited release version.
An update to "IRIX 6.3 for O2 including R10000" is required for this
security issue.   This security issue has been addressed in the "IRIX
6.3 for O2 including R10000" distribution which will go to all registered
O2 customers.



**** IRIX 6.4 S2MP (Origin200, Origin2000, Onyx2) ****

IRIX operating system version 6.4 S2MP (Origin200, Origin2000, Onyx2)
is a limited release version.    A future release of the IRIX 6.4
operating system will be released that will have corrections for
this issue.  Customers with the limited release will receive
the future IRIX 6.4 release when it is available.




- - -----------------------------------------
- - --- 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.




- --------------------------END INCLUDED TEXT--------------------

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPMV4Syh9+71yA2DNAQF3MgP8CjUr56pp+58nImjeHmvQ5JAjZD2JwBFG
iVDQeLWjslFqEwBnBCMPUyQWYwgXpYKnAO9LwGuOmmOIz/0M8CAj2Okt39/RkqIJ
fawCiOxtoviswbF0+rl5Fn+nnEbjv9f4PXAFZLVll1Fb3DO+O7wxHNeH0JYDwWtk
BTzRy6WlhK8=
=REuu
-----END PGP SIGNATURE-----