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

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

                             
            ESB-97.060 -- SGI Security Advisory 19961203-02-PX
	          IRIX netprint Program Security Issues
                              9 May 1997

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

Silicon Graphics Inc. has released the following advisory concerning a
vulnerability in IRIX netprint.  This vulnerability may allow local or
remote users with an established account to gain root access.

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 Inc 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 netprint Program Security Issues
        Number:  19961203-02-PX
        Date:    May 8, 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.
______________________________________________________________________________

- - --------------
- - --- Update ---
- - --------------

As part of on going security efforts, Silicon Graphics has replaced
patch 1686 with patch 2022.    The original text from SGI Security
Advisory 19961203-01-PX has been updated to reflect this change.






Silicon Graphics Engineering and Worldwide Customer Service divisions have
become aware of a potential security issue in the /usr/lib/print/netprint
program found in IRIX 5.3, 6.1 and 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 /usr/sbin/print/netprint program is used by the printing system
installed on all SGI systems.

A potential security vulnerability has been found that can result in
root privileges being obtained.

A local account is required in order to exploit this vulnerability both
locally and remotely.

Publicity of this vulnerability has been limited and has afforded
SGI the opportunity to fully investigate this issue and provide
the following information and solutions.



- - ----------------
- - --- 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 remove the vulnerability by removing
the printing subsystem.


                           ***************
                           *** WARNING ***
                           ***************


        Removing the print subsystem will remove all printing
        capability from the system.   Installing the patches below is
        recommended over removal of the print subsystem.

        If the print subsystem is removed, at a later time when the
        patches below are to be installed, the print subsystem will
        first have to be reinstalled from original IRIX distribution
        CDs before the patches.



     1) Become the root user on the system.

                % /bin/su -
                Password:
                #


     2) Remove the vulnerable subsystem.

                # /usr/sbin/versions -v remove print


     3) Return to previous level.

                # exit
                $



**** IRIX 3.x ****

Silicon Graphics Inc, no longer supports the IRIX 3.x operating system
and therefore has no patches or binaries to provide.


**** IRIX 4.x ****

This version of IRIX is not vulnerable.  No action is required.



**** IRIX 5.0.x, 5.1.x, 5.2 ****

These versions of IRIX are not vulnerable.  No action is required.



**** IRIX 5.3, 6.1 ****

For the IRIX operating system versions 5.3 and 6.1 an inst-able patch
has been generated and made available via anonymous FTP and your
service/support provider.  The patch is number 1685 and will only
install on IRIX 5.3 and 6.1.


The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its
mirror, ftp.sgi.com.   Patch 1685 can be found in the following
directories on the FTP server:

        ~ftp/Security

                or

        ~ftp/Patches/5.3
        ~ftp/Patches/6.1


                        ##### Checksums ####

The actual patch will be a tar file containing the following files:

Filename:                 README.patch.1685
Algorithm #1 (sum -r):    33112 8 README.patch.1685
Algorithm #2 (sum):       26410 8 README.patch.1685
MD5 checksum:             91C8238A36AC03839C910F5E8AA4D62A

Filename:                 patchSG0001685
Algorithm #1 (sum -r):    44784 1 patchSG0001685
Algorithm #2 (sum):       30237 1 patchSG0001685
MD5 checksum:             CCB7EB0A9E1AE7464FB0F88FA05C2672

Filename:                 patchSG0001685.idb
Algorithm #1 (sum -r):    25112 1 patchSG0001685.idb
Algorithm #2 (sum):       39883 1 patchSG0001685.idb
MD5 checksum:             D124D5F9E2F363F3500A496D393CD2D3

Filename:                 patchSG0001685.print_sw
Algorithm #1 (sum -r):    13809 21 patchSG0001685.print_sw
Algorithm #2 (sum):       44124 21 patchSG0001685.print_sw
MD5 checksum:             AE6A66F1F7854D37BACDB43773941730



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

IRIX operating system versions 6.0.x were limited release versions.
For the IRIX operating system versions 6.0.x an upgrade to 6.1 or
later 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 ****

See the section "**** IRIX 5.3, 6.1 ****" above.



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

The SGI anonymous FTP site is sgigate.sgi.com (204.94.209.1) or its
mirror, ftp.sgi.com.   Patch 2022 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.2022
Algorithm #1 (sum -r):    22870 8 README.patch.2022
Algorithm #2 (sum):       25749 8 README.patch.2022
MD5 checksum:             77AA72580D6AC26FBE845E0DA19224D5

Filename:                 patchSG0002022
Algorithm #1 (sum -r):    18053 1 patchSG0002022
Algorithm #2 (sum):       37661 1 patchSG0002022
MD5 checksum:             45E0F0DB8C835C75C3DADB53CB31424C

Filename:                 patchSG0002022.idb
Algorithm #1 (sum -r):    10021 2 patchSG0002022.idb
Algorithm #2 (sum):       57571 2 patchSG0002022.idb
MD5 checksum:             1A8C6DD25A769B224C7238F2DBFDD478

Filename:                 patchSG0002022.print_sw
Algorithm #1 (sum -r):    19709 22 patchSG0002022.print_sw
Algorithm #2 (sum):       31923 22 patchSG0002022.print_sw
MD5 checksum:             00EF09617BC1F4811E43FB86FE6F3DAD



**** IRIX 6.3 (Early Access for O2) ****

IRIX operating system version 6.3 (Early Access 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.



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

IRIX operating system version 6.4 S2MP (Origin200, Origin2000, Onyx2)
is a limited release version.    An update to "IRIX 6.4 for Origin,
Onyx2, and Octane" is required for this security issue.  This security
issue has been addressed in the "IRIX 6.4 for Origin,
Onyx2, and Octane" release.





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

iQCVAwUBM3JJkrQ4cFApAP75AQFeDgP/SSfqVmHISNUV4oDMdZSqRuEKWuGOx72Q
Pp8ib+AxHftlr5ZxesidBlw2HswrlpMO32MB5zho3PEqvi3OgKW51Jipqw+418X6
jQ9h/8PsVMeVie9LbrqFE/eDfS2CayhFWvh24/KWf3bx2B+kNodAJ3lFPCxGeb3b
tzQYHUHw0xI=
=zvVn
- -----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

iQCVAwUBM3LvdCh9+71yA2DNAQF8/QP+I0VpAjDne4K15joAgGcMN62MxIMtghw8
+2s1nInjhdX0SpSxAnfs9+HkfBcjI7NbGn+TG8yDfG/cIUKqEhN33w0pUf86+Hd4
bwJAufFpB+BiU0Hyt0XRDNoWyyESD/tL8Nsdzes80Pml2Z2OABQIb0LrSuy/TOQu
Y/3wVJlyl5E=
=Z0VU
-----END PGP SIGNATURE-----