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

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

                             
             ESB-98.040 -- SGI Security Advisory 19980301-01-PX
         startmidi/stopmidi, datman/cdman, cdplayer Vulnerabilities

                             13th March 1998

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

Silicon Graphics Inc. has released the following advisory concerning
vulnerabilities in startmidi/stopmidi, datman/cdman and cdplayer programs.
With a local account, these buffer overrun vulnerabilities can be exploited
locally and remotely.  These buffer overrun vulnerabilities can be utilized
to execute commands with root privileges.

These vulnerabilities have been previously addressed in AUSCERT advisories:

           AA-96.11 - SGI IRIX cdplayer Vulnerability
           AA-96.20 - SGI IRIX datman/cdman Vulnerability
           AA-97.05 - SGI IRIX startmidi/stopmidi Vulnerability

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.

NOTE: This is only the original release of the security bulletin.  It will
not be updated when the original bulletin is.  If downloading at a later
date, it is recommended that the bulletin is retrieved from the original
authors to ensure that the information is still current.

Contact information for SGI is included in the Security Bulletin
below.  If you have any questions or need further information, please
contact them directly. 

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/information/advisories.html

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
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.
Facsimile:      (07) 3365 7031


- ---------------------------BEGIN INCLUDED TEXT--------------------


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

______________________________________________________________________________
                Silicon Graphics Inc. Security Advisory

        Title:   startmidi/stopmidi, datman/cdman, cdplayer Vulnerabilities
        Title:   AUSCERT AA-96.11, AUSCERT AA-96.20 and AUSCERT AA-97.05
        Number:  19980301-01-PX
        Date:    March 11, 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 ---
- - -----------------------

Under normal operation, the IRIS Digital Media Execution Environment and
related subsystems provide software to support Silicon Graphic's Multimedia
(audio, MIDI, video, compression and movie) hardware.

Unfortunately, several buffer overruns which could allow arbitrary
commands to be run as the privileged user root have been discovered in the
following Digital Media Tools: startmidi/stopmidi(1), datman/cdman(1),
cdplayer(1) and the CDROM Confidence Test program.

Respectfully, the startmidi/stopmidi(1) programs control the MIDI
daemon, the datman/cdman(1) programs control audio CD and DAT tape
operations, the cdplayer(1) program plays audio CDs on a CD-ROM drive,
and the CDROM Confidence Test tool verifies the CDROM is working properly.

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



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

The IRIS Digital Media Execution software and related subsystems and are
loaded by default on all IRIX systems. The Digital Media Tools on
IRIX 5.X and IRIX 6.X are vulnerable to these buffer overflows.

With a local account, these buffer overrun vulnerabilities can be exploited
locally and remotely.

These buffer overrun vulnerabilities can be utilized to execute commands with
root privileges.

These vulnerabilities has been publically discussed in Usenet newsgroups
and mailing lists and also reported in AUSCERT AA-96.11, AA-96.20 and AA-97.05



- - --------------------------
- - --- 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 remove the vulnerabilities by changing
the permissions of the vulnerable programs.



     1) Become the root user on the system.

                % /bin/su -
                Password:
                #

     2) Change the permissions on the vulnerable programs.

                On All IRIX Releases
                # /bin/chmod 500 /usr/sbin/datman
                # /bin/chmod 500 /usr/sbin/Confidence/cdrom

                On IRIX 5.3 Only
                # /bin/chmod 500 /usr/sbin/startmidi

                On IRIX 5.3 and IRIX 6.2
                # /bin/chmod 500 /usr/bin/X11/cdplayer

                On IRIX 6.3 and IRIX 6.4
                # /bin/chmod 500 /usr/sbin/datplayer
                # /bin/chmod 500 /usr/bin/X11/cdheadphone


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

               Removing the permissions from the vulnerable programs will
               prevent non-root users from using the vulnerable programs.


     3) Return to previous level.

                # exit
                $



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

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

   IRIX 3.x          no
   IRIX 4.x          no
   IRIX 5.0.x        yes          not avail    Note 1
   IRIX 5.1.x        yes          not avail    Note 1
   IRIX 5.2          yes          not avail    Note 1
   IRIX 5.3          yes          2563
   IRIX 6.0.x        yes          not avail    Note 1
   IRIX 6.1          yes          not avail    Note 1
   IRIX 6.2          yes          2564
   IRIX 6.3          yes          2565
   IRIX 6.4          yes          2291


   NOTES

     1) upgrade operating system or see "Temporary Solution" section.



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

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



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

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

Filename:                 README.patch.2563
Algorithm #1 (sum -r):    64246 9 README.patch.2563
Algorithm #2 (sum):       3508 9 README.patch.2563
MD5 checksum:             38FE820C54053677D87F66EC1E14CD38

Filename:                 patchSG0002563
Algorithm #1 (sum -r):    33633 3 patchSG0002563
Algorithm #2 (sum):       44339 3 patchSG0002563
MD5 checksum:             23E2FD7D5C7762F4D2B7DB43D2F4DC0B

Filename:                 patchSG0002563.desktop_eoe_sw
Algorithm #1 (sum -r):    33441 97 patchSG0002563.desktop_eoe_sw
Algorithm #2 (sum):       19666 97 patchSG0002563.desktop_eoe_sw
MD5 checksum:             ED3403B0CFF39C22236493F6F27D35EA

Filename:                 patchSG0002563.dmedia_eoe_sw
Algorithm #1 (sum -r):    15897 12 patchSG0002563.dmedia_eoe_sw
Algorithm #2 (sum):       21619 12 patchSG0002563.dmedia_eoe_sw
MD5 checksum:             8FA8DBB16A50BADC6C30539FB4F781A5

Filename:                 patchSG0002563.dmedia_tools_sw
Algorithm #1 (sum -r):    32937 782 patchSG0002563.dmedia_tools_sw
Algorithm #2 (sum):       26674 782 patchSG0002563.dmedia_tools_sw
MD5 checksum:             4B7568DE78B07ED50EE41C6D0804030A

Filename:                 patchSG0002563.eoe2_sw
Algorithm #1 (sum -r):    58928 139 patchSG0002563.eoe2_sw
Algorithm #2 (sum):       64284 139 patchSG0002563.eoe2_sw
MD5 checksum:             0E8DC3A5F5716440E065F7EA45D663B9

Filename:                 patchSG0002563.idb
Algorithm #1 (sum -r):    57817 2 patchSG0002563.idb
Algorithm #2 (sum):       17902 2 patchSG0002563.idb
MD5 checksum:             962FB5E6BA16F8AB0F8B6A016D59184E

Filename:                 README.patch.2564
Algorithm #1 (sum -r):    34028 9 README.patch.2564
Algorithm #2 (sum):       242 9 README.patch.2564
MD5 checksum:             E4674E474941BE71057588CACDE10DDB

Filename:                 patchSG0002564
Algorithm #1 (sum -r):    28664 5 patchSG0002564
Algorithm #2 (sum):       53837 5 patchSG0002564
MD5 checksum:             D095BCF415F25208A3E7A6DF632B1D68

Filename:                 patchSG0002564.desktop_eoe_sw
Algorithm #1 (sum -r):    15389 595 patchSG0002564.desktop_eoe_sw
Algorithm #2 (sum):       21291 595 patchSG0002564.desktop_eoe_sw
MD5 checksum:             159A78FE9A7D9ECF30AC0467CCAADF6C

Filename:                 patchSG0002564.dmedia_eoe_sw
Algorithm #1 (sum -r):    46712 750 patchSG0002564.dmedia_eoe_sw
Algorithm #2 (sum):       30765 750 patchSG0002564.dmedia_eoe_sw
MD5 checksum:             AB34E9C0C1865778ADE576D2E2AFF75A

Filename:                 patchSG0002564.eoe_sw
Algorithm #1 (sum -r):    40819 252 patchSG0002564.eoe_sw
Algorithm #2 (sum):       57504 252 patchSG0002564.eoe_sw
MD5 checksum:             C00F91E8CCC468693D6B0B500E7D6C03

Filename:                 patchSG0002564.idb
Algorithm #1 (sum -r):    64183 8 patchSG0002564.idb
Algorithm #2 (sum):       16316 8 patchSG0002564.idb
MD5 checksum:             EF9810A1C10E06CDE22B2BB88202D3DD

Filename:                 README.patch.2565
Algorithm #1 (sum -r):    31164 14 README.patch.2565
Algorithm #2 (sum):       34494 14 README.patch.2565
MD5 checksum:             FC8A8F31517252DBE11DF961E60E1A0D

Filename:                 patchSG0002565
Algorithm #1 (sum -r):    48368 7 patchSG0002565
Algorithm #2 (sum):       52893 7 patchSG0002565
MD5 checksum:             40B36A34F28FFBE7E356D1FA581DE39E

Filename:                 patchSG0002565.desktop_eoe_sw
Algorithm #1 (sum -r):    56716 46 patchSG0002565.desktop_eoe_sw
Algorithm #2 (sum):       1798 46 patchSG0002565.desktop_eoe_sw
MD5 checksum:             C0975BFFCCA459F4E4DD65DDBC1EFAFC

Filename:                 patchSG0002565.dmedia_eoe_sw
Algorithm #1 (sum -r):    27513 4688 patchSG0002565.dmedia_eoe_sw
Algorithm #2 (sum):       35889 4688 patchSG0002565.dmedia_eoe_sw
MD5 checksum:             DD8F49EDD0226A4CF673CA5E2397DE3A

Filename:                 patchSG0002565.eoe_sw
Algorithm #1 (sum -r):    39776 228 patchSG0002565.eoe_sw
Algorithm #2 (sum):       27743 228 patchSG0002565.eoe_sw
MD5 checksum:             FF3A4E5544CB78AEBACF3DD40914BB1A

Filename:                 patchSG0002565.idb
Algorithm #1 (sum -r):    05831 9 patchSG0002565.idb
Algorithm #2 (sum):       41323 9 patchSG0002565.idb
MD5 checksum:             85C7411466FF2A833781C4DC6B7AD468

Filename:                 patchSG0002565.sysadmdesktop_sw
Algorithm #1 (sum -r):    05151 24 patchSG0002565.sysadmdesktop_sw
Algorithm #2 (sum):       53754 24 patchSG0002565.sysadmdesktop_sw
MD5 checksum:             139B633A63728FF57FF6A902747299C0

Filename:                 README.patch.2291
Algorithm #1 (sum -r):    40374 33 README.patch.2291
Algorithm #2 (sum):       40054 33 README.patch.2291
MD5 checksum:             F69F5CC8EF70F444979050DF2D0C62B9

Filename:                 patchSG0002291
Algorithm #1 (sum -r):    45762 16 patchSG0002291
Algorithm #2 (sum):       15350 16 patchSG0002291
MD5 checksum:             A9D31B4EADE732390C0FEC20FD8E2D44

Filename:                 patchSG0002291.desktop_eoe_sw
Algorithm #1 (sum -r):    00837 48 patchSG0002291.desktop_eoe_sw
Algorithm #2 (sum):       14894 48 patchSG0002291.desktop_eoe_sw
MD5 checksum:             9AF97B0870ECF0AA2C55BD0E7F229BE0

Filename:                 patchSG0002291.dmedia_dev_man
Algorithm #1 (sum -r):    26486 51 patchSG0002291.dmedia_dev_man
Algorithm #2 (sum):       26722 51 patchSG0002291.dmedia_dev_man
MD5 checksum:             700D287F5A02173EFD68B34E7434AF68

Filename:                 patchSG0002291.dmedia_dev_src
Algorithm #1 (sum -r):    32452 201 patchSG0002291.dmedia_dev_src
Algorithm #2 (sum):       62658 201 patchSG0002291.dmedia_dev_src
MD5 checksum:             DC371E55D70A262B06BB9E42CACA44C5

Filename:                 patchSG0002291.dmedia_dev_sw
Algorithm #1 (sum -r):    64921 4977 patchSG0002291.dmedia_dev_sw
Algorithm #2 (sum):       39316 4977 patchSG0002291.dmedia_dev_sw
MD5 checksum:             E7C89E694135D13C4C5A2CA8CF984978

Filename:                 patchSG0002291.dmedia_eoe_man
Algorithm #1 (sum -r):    49711 154 patchSG0002291.dmedia_eoe_man
Algorithm #2 (sum):       24512 154 patchSG0002291.dmedia_eoe_man
MD5 checksum:             A9C551DA77F45B0D12549B3DAC9AD6C3

Filename:                 patchSG0002291.dmedia_eoe_sw
Algorithm #1 (sum -r):    05209 12929 patchSG0002291.dmedia_eoe_sw
Algorithm #2 (sum):       28248 12929 patchSG0002291.dmedia_eoe_sw
MD5 checksum:             D4FD84A8D6796786086756693B6D5EBB

Filename:                 patchSG0002291.eoe_sw
Algorithm #1 (sum -r):    09998 227 patchSG0002291.eoe_sw
Algorithm #2 (sum):       22889 227 patchSG0002291.eoe_sw
MD5 checksum:             25A84D429953AE8AD5E74890173F0EEE

Filename:                 patchSG0002291.idb
Algorithm #1 (sum -r):    21588 43 patchSG0002291.idb
Algorithm #2 (sum):       52171 43 patchSG0002291.idb
MD5 checksum:             5A0EF5DC304866D2C8FFB26F8A762868

Filename:                 patchSG0002291.sysadmdesktop_sw
Algorithm #1 (sum -r):    13267 27 patchSG0002291.sysadmdesktop_sw
Algorithm #2 (sum):       54771 27 patchSG0002291.sysadmdesktop_sw
MD5 checksum:             A941345B943078F98B77E64AC2E86618



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

Silicon Graphics wishes to thank AUSCERT and the Internet community
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

iQCUAwUBNQbVn7Q4cFApAP75AQFO7QP45WmuwS1mdGdPYVyK4HebfYfQ8vqMdGS/
C9xIJxzmxn2Zn2zFBshLNf8tKpWmhwstocYG0b+MsWNx3l89986ByMJgj9r8FGfU
vDKLOwmn+DLwCWyNShy8XQoIbNYPuj7GOFRDgvJyYz6PeYw4ZtUG0SLHDBz4s0c8
4/f6futA5g==
=WUB4
- -----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

iQCVAwUBNQ0Tnyh9+71yA2DNAQH6bQP/Uc3ikqLvkpSRKOQ1HuQ7IjfnKo6fugG+
Gkkv5+gstoX0yeTEA+yEIAnS2RLzfCsREXOEwcsr09wHdzyrij2iDW65K6M4byt0
q+UqJ4abKNamzeJ0FDrmU8KrInIerhvXf4KcNJkNBtWCzIdLJTcAvbU/slQP53VZ
iHc4hmmqkb0=
=RtgR
-----END PGP SIGNATURE-----