TUCoPS :: SGI :: ciaci015.txt

SGI Irix Syserr Permissions Vulnerabilities

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

             __________________________________________________________

                       The U.S. Department of Energy
                    Computer Incident Advisory Capability
                           ___  __ __    _     ___
                          /       |     /_\   /
                          \___  __|__  /   \  \___
             __________________________________________________________

                             INFORMATION BULLETIN

           SGI IRIX Vulnerabilities (syserr and permissions programs)

November 19, 1997 23:00 GMT                                       Number I-015
______________________________________________________________________________
PROBLEM:       Two vulnerabilities have been identified in IRIX programs; the
               syserr program manipulates certain history and configuration
               files, and the permissions tool allows users to modify the 
               Owner, Group and Others permission bits for files and
               directories.
PLATFORM:      SGI systems running IndigoMagic Desktop and Desktop System
               Monitor subsystems
DAMAGE:        With a local account, these vulnerabilities can be exploited
               both locally and remotely.  Utilizing the syserr vulnerability,
               random files can be created and corrupted.  With the permissions
               vulnerability, access can be gained as a privileged user.
SOLUTION:      Apply available patches or workarounds.
______________________________________________________________________________
VULNERABILITY  Both of these security issues have been publically disclosed
ASSESSMENT:    and discussed in several public forums. It is HIGHLY
               RECOMMENDED that these measures be implemented on ALL SGI
               systems running the listed subsystems.
______________________________________________________________________________

[ Start Silicon Graphics Advisory ]

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

______________________________________________________________________________
                Silicon Graphics Inc. Security Advisory

        Title:   IRIX syserr and permissions programs
        Number:  19971103-01-PX
        Date:    November 18, 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
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 ---
- ------------------------

This advisory covers two security issues that were public reported as
two different issues.  Both these issues have been addressed together
as one issue by Silicon Graphics.

The first vulnerability involves the syserr program.   The System Error
Notification Broker (syserr) program is part of the Desktop System
Monitor which monitors the system for user defined events and then
provides notification and/or action when those events occur.

As part of normal operation, the syserr program manipulates certain
history and configuration files.  A security issue was found in
these file operations.

The second issue involves the permissions tool found in the Indigo
Magic Desktop environment.  The permissions tool allows users to modify
the Owner, Group and Others permission bits for files and directories.

A security issue was found in the operation of the permissions tool.

Silicon Graphics Inc. has investigated these issues and recommends the
following steps for neutralizing the exposure.  It is HIGHLY RECOMMENDED
that these measures be implemented on ALL SGI systems.  These issues will
be corrected in future releases of IRIX.


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

The IndigoMagic Desktop and Desktop System Monitor subsystems, which
contain the permissions and syserr programs respectively, are
installed by default on all desktop systems.  These subsystems may
also be installed on other non-desktop systems.

Both of these issues require a local account for these vulnerabilities
to be exploited.  With a local account, these vulnerabilities can
be exploited both locally and remotely.

Utilizing the syserr vulnerability, random files can be created
and corrupted.

With the permissions vulnerability, access can be gained as a
privileged user.

Both of these security issues have been publically disclosed and
discussed in several public forums.



- ---------------------------
- ---- 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 vulnerability by removing
the permissions of the syserr and permissions programs.



     1) Become the root user on the system.

                % /bin/su -
                Password:
                #

     2) Change the permissions on the programs.


                # /bin/chmod 500 /usr/sbin/syserr
                # /bin/chmod 500 /usr/lib/desktop/permissions


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

               Removing the permissions from these programs
               will prevent non-root users and programs from
               using these 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          2238 & 2273
   IRIX 6.0.x        yes          not avail    Note 1
   IRIX 6.1          yes          not avail    Note 1
   IRIX 6.2          yes          2239
   IRIX 6.3          yes          2240
   IRIX 6.4          yes          2241


   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.2238
Algorithm #1 (sum -r):    33138 8 README.patch.2238
Algorithm #2 (sum):       54609 8 README.patch.2238
MD5 checksum:             06FEA4B87EFAAC414D93C02286BDC43F

Filename:                 patchSG0002238
Algorithm #1 (sum -r):    42580 4 patchSG0002238
Algorithm #2 (sum):       17470 4 patchSG0002238
MD5 checksum:             2B3CB2B7A1A34A060471F5EAFEC3C8D2

Filename:                 patchSG0002238.idb
Algorithm #1 (sum -r):    28213 14 patchSG0002238.idb
Algorithm #2 (sum):       165 14 patchSG0002238.idb
MD5 checksum:             64C63FE7812F66F70AA9F768108CC83E

Filename:                 patchSG0002238.insight_sw
Algorithm #1 (sum -r):    14141 6000 patchSG0002238.insight_sw
Algorithm #2 (sum):       32280 6000 patchSG0002238.insight_sw
MD5 checksum:             9CD26F3BD01FDB3B897713E4D1CB0903

Filename:                 patchSG0002238.sysmon_books
Algorithm #1 (sum -r):    24973 432 patchSG0002238.sysmon_books
Algorithm #2 (sum):       12014 432 patchSG0002238.sysmon_books
MD5 checksum:             FBD60185ECA52E1004A2149C076387D3

Filename:                 patchSG0002238.sysmon_sw
Algorithm #1 (sum -r):    26734 104 patchSG0002238.sysmon_sw
Algorithm #2 (sum):       54767 104 patchSG0002238.sysmon_sw
MD5 checksum:             A8B3E9CC35940ECE8A3B12EB19F60F1C



Filename:                 README.patch.2239
Algorithm #1 (sum -r):    64560 8 README.patch.2239
Algorithm #2 (sum):       52155 8 README.patch.2239
MD5 checksum:             55BBC5958A1FF9BC54043EB0CA11DEE2

Filename:                 patchSG0002239
Algorithm #1 (sum -r):    62613 5 patchSG0002239
Algorithm #2 (sum):       43481 5 patchSG0002239
MD5 checksum:             3FAEE6B9D75F5B83A841F7F062EF7B76

Filename:                 patchSG0002239.desktop_eoe_sw
Algorithm #1 (sum -r):    08003 107 patchSG0002239.desktop_eoe_sw
Algorithm #2 (sum):       62904 107 patchSG0002239.desktop_eoe_sw
MD5 checksum:             7D82A6EC707766C9656D70C278977875

Filename:                 patchSG0002239.idb
Algorithm #1 (sum -r):    07661 12 patchSG0002239.idb
Algorithm #2 (sum):       38563 12 patchSG0002239.idb
MD5 checksum:             E8E34B1179B0F1E293207C7122BCD9E9

Filename:                 patchSG0002239.sysadmdesktop_sw
Algorithm #1 (sum -r):    65280 2881 patchSG0002239.sysadmdesktop_sw
Algorithm #2 (sum):       46052 2881 patchSG0002239.sysadmdesktop_sw
MD5 checksum:             902DD8070EE355A0670F1E82046C1C2B

Filename:                 patchSG0002239.sysmon_sw
Algorithm #1 (sum -r):    45274 95 patchSG0002239.sysmon_sw
Algorithm #2 (sum):       46934 95 patchSG0002239.sysmon_sw
MD5 checksum:             5DC4DD1021C72E58B96DBB6407D98729



Filename:                 README.patch.2240
Algorithm #1 (sum -r):    24466 7 README.patch.2240
Algorithm #2 (sum):       19111 7 README.patch.2240
MD5 checksum:             3BC19EB3BDA842471A47070AD1FF61CD

Filename:                 patchSG0002240
Algorithm #1 (sum -r):    48056 1 patchSG0002240
Algorithm #2 (sum):       31171 1 patchSG0002240
MD5 checksum:             D0C0BD5AC20A36D88E8BC6241429F078

Filename:                 patchSG0002240.idb
Algorithm #1 (sum -r):    50798 1 patchSG0002240.idb
Algorithm #2 (sum):       39448 1 patchSG0002240.idb
MD5 checksum:             351BF9721D0FB68900672DBE1B4471D8

Filename:                 patchSG0002240.sysmon_sw
Algorithm #1 (sum -r):    31291 79 patchSG0002240.sysmon_sw
Algorithm #2 (sum):       13465 79 patchSG0002240.sysmon_sw
MD5 checksum:             60BEFBD357F36F386260B3C9E7692B4F



Filename:                 README.patch.2241
Algorithm #1 (sum -r):    49732 7 README.patch.2241
Algorithm #2 (sum):       19173 7 README.patch.2241
MD5 checksum:             FF3183312FB43F3BFC0BF286BCC319B2

Filename:                 patchSG0002241
Algorithm #1 (sum -r):    44510 1 patchSG0002241
Algorithm #2 (sum):       32569 1 patchSG0002241
MD5 checksum:             F187DE8830FFAB8BF2850DF0605606B7

Filename:                 patchSG0002241.idb
Algorithm #1 (sum -r):    63962 1 patchSG0002241.idb
Algorithm #2 (sum):       39424 1 patchSG0002241.idb
MD5 checksum:             33A0B768CF9FF2C5730F23FD1CDD1339

Filename:                 patchSG0002241.sysmon_sw
Algorithm #1 (sum -r):    62550 84 patchSG0002241.sysmon_sw
Algorithm #2 (sum):       16142 84 patchSG0002241.sysmon_sw
MD5 checksum:             C67EBFE66258F0D5A0641EC5C7A3B43C



Filename:                 README.patch.2273
Algorithm #1 (sum -r):    09906 10 README.patch.2273
Algorithm #2 (sum):       48872 10 README.patch.2273
MD5 checksum:             EB63F8B61B7C20144DC73F664FFC6532

Filename:                 patchSG0002273
Algorithm #1 (sum -r):    52671 3 patchSG0002273
Algorithm #2 (sum):       38361 3 patchSG0002273
MD5 checksum:             07B7E6E002B7C0D578B3919629FF5AF9

Filename:                 patchSG0002273.desktop_eoe_sw
Algorithm #1 (sum -r):    25464 108 patchSG0002273.desktop_eoe_sw
Algorithm #2 (sum):       64994 108 patchSG0002273.desktop_eoe_sw
MD5 checksum:             9C3453CA8D32FF16CFF4FB0B13FC983F

Filename:                 patchSG0002273.idb
Algorithm #1 (sum -r):    33091 12 patchSG0002273.idb
Algorithm #2 (sum):       50364 12 patchSG0002273.idb
MD5 checksum:             62C67DB1B5070D4457B6462BD30349C5

Filename:                 patchSG0002273.sysadmdesktop_sw
Algorithm #1 (sum -r):    02318 2872 patchSG0002273.sysadmdesktop_sw
Algorithm #2 (sum):       22358 2872 patchSG0002273.sysadmdesktop_sw
MD5 checksum:             B08A2078F4F37FF8165542158717E8A5




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

Silicon Graphics wishes to thank AUSCERT and CERT Coordination Center
organizations 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

iQCVAwUBNHIdvLQ4cFApAP75AQEtQwQAuFKKAexhrpXTRCq2tOgWzS8cMP8x0So+
7FjQB1Sgkgqf5iCxd1kg4MkgqlbWbTT5ibzYjOwyHzwo2uEGQ5FbzHIwN3GQJ7n6
bYKNXR9/lke08jTAsFQbZlyc67h5IR22JUH984gChbqeWqLEMrrGkPyj3ioodtoH
fy5cz8RAux0=
=N2Fr
- -----END PGP SIGNATURE-----

[ End Silicon Graphics Advisory ]

______________________________________________________________________________

CIAC wishes to acknowledge the contributions of Silicon Graphics Inc. for the
information contained in this bulletin.
______________________________________________________________________________


CIAC, the Computer Incident Advisory Capability, is the computer
security incident response team for the U.S. Department of Energy
(DOE) and the emergency backup response team for the National
Institutes of Health (NIH). CIAC is located at the Lawrence Livermore
National Laboratory in Livermore, California. CIAC is also a founding
member of FIRST, the Forum of Incident Response and Security Teams, a
global organization established to foster cooperation and coordination
among computer security teams worldwide.

CIAC services are available to DOE, DOE contractors, and the NIH. CIAC
can be contacted at:
    Voice:    +1 510-422-8193
    FAX:      +1 510-423-8002
    STU-III:  +1 510-423-2604
    E-mail:   ciac@llnl.gov

For emergencies and off-hour assistance, DOE, DOE contractor sites,
and the NIH may contact CIAC 24-hours a day. During off hours (5PM -
8AM PST), call the CIAC voice number 510-422-8193 and leave a message,
or call 800-759-7243 (800-SKY-PAGE) to send a Sky Page. CIAC has two
Sky Page PIN numbers, the primary PIN number, 8550070, is for the CIAC
duty person, and the secondary PIN number, 8550074 is for the CIAC
Project Leader.

Previous CIAC notices, anti-virus software, and other information are
available from the CIAC Computer Security Archive.

   World Wide Web:      http://ciac.llnl.gov/
   Anonymous FTP:       ciac.llnl.gov (198.128.39.53)
   Modem access:        +1 (510) 423-4753 (28.8K baud)
                        +1 (510) 423-3331 (28.8K baud)

CIAC has several self-subscribing mailing lists for electronic
publications:
1. CIAC-BULLETIN for Advisories, highest priority - time critical
   information and Bulletins, important computer security information;
2. SPI-ANNOUNCE for official news about Security Profile Inspector
   (SPI) software updates, new features, distribution and
   availability;
3. SPI-NOTES, for discussion of problems and solutions regarding the
   use of SPI products.

Our mailing lists are managed by a public domain software package
called Majordomo, which ignores E-mail header subject lines. To
subscribe (add yourself) to one of our mailing lists, send the
following request as the E-mail message body, substituting
ciac-bulletin, spi-announce OR spi-notes for list-name:

E-mail to       ciac-listproc@llnl.gov or majordomo@tholia.llnl.gov:
        subscribe list-name
  e.g., subscribe ciac-bulletin

You will receive an acknowledgment email immediately with a confirmation
that you will need to mail back to the addresses above, as per the
instructions in the email.  This is a partial protection to make sure
you are really the one who asked to be signed up for the list in question.

If you include the word 'help' in the body of an email to the above address,
it will also send back an information file on how to subscribe/unsubscribe,
get past issues of CIAC bulletins via email, etc.

PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing
communities receive CIAC bulletins.  If you are not part of these
communities, please contact your agency's response team to report
incidents. Your agency's team will coordinate with CIAC. The Forum of
Incident Response and Security Teams (FIRST) is a world-wide
organization. A list of FIRST member organizations and their
constituencies can be obtained via WWW at http://www.first.org/.

This document was prepared as an account of work sponsored by an
agency of the United States Government. Neither the United States
Government nor the University of California nor any of their
employees, makes any warranty, express or implied, or assumes any
legal liability or responsibility for the accuracy, completeness, or
usefulness of any information, apparatus, product, or process
disclosed, or represents that its use would not infringe privately
owned rights. Reference herein to any specific commercial products,
process, or service by trade name, trademark, manufacturer, or
otherwise, does not necessarily constitute or imply its endorsement,
recommendation or favoring by the United States Government or the
University of California. The views and opinions of authors expressed
herein do not necessarily state or reflect those of the United States
Government or the University of California, and shall not be used for
advertising or product endorsement purposes.

LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC)

I-004: NEC/UNIX "nosuid" mount option Vulnerability
I-006: IBM AIX "xdat" Buffer Overflow Vulnerability
I-007: SunOS Solaris Vulnerabilies (nis_cachemgr, ftpd/rlogind, sysdef)
I-008: Open Group OSF/DCE Denial-of-Service Vulnerability
I-009: IBM AIX libDtSvc.a Buffer Overflow Vulnerability
I-010: HP-UX CDE Vulnerability
I-011: IBM AIX portmir command Vulnerability
I-012: IBM AIX ftp client Vulnerability
I-013: Count.cgi Buffer Overrun Vulnerabiliity
I-014: Vulnerability in GlimpseHTTP and WebGlimpse cgi-bin Packages


-----BEGIN PGP SIGNATURE-----
Version: 4.0 Business Edition

iQCVAwUBNHS82bnzJzdsy3QZAQEU0AP/bCAPk5bSu70NFTjsa9lBu+/IcwrVkd6s
BnBzPVia7G58Hr9aEpsSON38RrGzg4oESt8WMF2bMNi/v4RMwhG43ic30mhe8UQ7
Or4FRar3eBFFXvtytMwUOj0xt9/nG4vE5KQNZs6WA2EXCBo2W4ixFNCWRaJ+yFZQ
do78tJFH6jg=
=pAEW
-----END PGP SIGNATURE-----

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH