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

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

                   ESB-2002.388 -- SGI Security Advisory
                          iPlanet vulnerabilities
                               2 August 2002

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:                iPlanet
Vendor:                 SGI
Operating System:       IRIX 6.5.x
Impact:                 Root Compromise
Access Required:        Remote

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

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

_____________________________________________________________________________

                          SGI Security Advisory

        Title:      iPlanet vulnerabilities
        Number:     20020803-01-P
        Date:       August 1, 2002
        Reference:  CERT® Vulnerability Note #276767
        Reference:  CAN-2001-0327
_____________________________________________________________________________

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

Multiple vulnerabilities exist in the iPlanet Web Servers as supplied by SGI.

1) CERT has reported that a buffer overflow exists that may allow remote
attackers to gain read access to sensitive information contained in the
memory of the web server process. The information disclosed may include
userids, passwords, cookies or authentication data belonging to other users
of the web server. With this data the attacker may be able to falsely
authenticate themselves to the web server as other users. In some cases, the
attacker may be able to prevent the normal operation of the web server using
this vulnerability.

More information is available at the following URLs:

http://www.kb.cert.org/vuls/id/276767
http://www.atstake.com/research/advisories/2001/a041601-1.txt

2) The SNMP agent (magt) daemon supplied with the Admin Server component of
Netscape Directory Server 4.1x, iPlanet Directory Server 5.0, iPlanet
Directory Server 5.1, and iPlanet Web Proxy Server 3.6 on UNIX platforms is
vulnerable to a malformed request. The malformed request will cause the
"magt" daemon to abruptly exit, so that it will no longer accept requests.

More information is available at the following URLs:

http://knowledgebase.iplanet.com/ikb/kb/articles/7805.html
http://wwws.sun.com/software/download/patches/5174.html

3) There are also three additional vulnerabilities that exist in the
iPlanet Web Servers that are NOT addressed by this advisory. See the
"Impact" section.

SGI has investigated the issues and recommends the following steps for
neutralizing the exposure.  It is HIGHLY RECOMMENDED that these measures be
implemented on ALL vulnerable SGI systems.


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

The iPlanet Webservers are an optional product and are not installed by
default on IRIX systems.

These vulnerabilities may be exploited by a remote user, and no local
account is required.

The exploitation of these vulnerabilities can lead to a root compromise.

These vulnerabilities have been reported by CERT and have been publicly
discussed in Usenet newsgroups and mailing lists.

The iPlanet webserver buffer overflow was assigned the following CVE:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-0327

See the following URLs for additional details on three vulnerabilities that
are not addressed by this patch or advisory, and iPlanet's suggested
workarounds:

1) wp-force-auth can be used in a brute force password cracking attack
   http://knowledgebase.iplanet.com/ikb/kb/articles/7764.html

2) Unauthorized listing of directory contents via "?wp-" query
   http://knowledgebase.iplanet.com/ikb/kb/articles/4302.html

3) The search functionality, not enabled by default, is vulnerable:
   http://online.securityfocus.com/archive/1/281287/2002-07-07/2002-07-13/0
   http://online.securityfocus.com/archive/1/281199/2002-07-07/2002-07-13/0

   Steps to disable the Search function per iPlanet, is:
   http://docs.iplanet.com/docs/manuals/enterprise/41/ag/essearch.htm#1023742


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

No patch is provided for magt iPlanet binary. Here are the steps to disable
the binary:

   $ su -

   # cd <server_root>/plugins/snmp/magt

     (where server_root is the directory where iPlanet was installed)

   # chmod -x magt

   # killall magt


SGI has provided a patch that will fixes the iPlanet webserver buffer
overflow vulnerability reported by CERT.

   OS Version     Vulnerable?     Patch #      Other Actions
   ----------     -----------     -------      -------------
   IRIX 3.x        unknown                     Note 1
   IRIX 4.x        unknown                     Note 1
   IRIX 5.x        unknown                     Note 1
   IRIX 6.0.x      unknown                     Note 1
   IRIX 6.1        unknown                     Note 1
   IRIX 6.2        unknown                     Note 1
   IRIX 6.3        unknown                     Note 1
   IRIX 6.4        unknown                     Note 1
   IRIX 6.5          yes          4458         Notes 2 & 3
   IRIX 6.5.1        yes          4458         Notes 2 & 3
   IRIX 6.5.2        yes          4458         Notes 2 & 3
   IRIX 6.5.3        yes          4458         Notes 2 & 3
   IRIX 6.5.4        yes          4458         Notes 2 & 3
   IRIX 6.5.5        yes          4458         Notes 2 & 3
   IRIX 6.5.6        yes          4458         Notes 2 & 3
   IRIX 6.5.7        yes          4458         Notes 2 & 3
   IRIX 6.5.8        yes          4458         Notes 2 & 3
   IRIX 6.5.9        yes          4458         Notes 2 & 3
   IRIX 6.5.10       yes          4458         Notes 2 & 3
   IRIX 6.5.11       yes          4458         Notes 2 & 3
   IRIX 6.5.12       yes          4458         Notes 2 & 3
   IRIX 6.5.13       yes          4458         Notes 2 & 3
   IRIX 6.5.14       yes          4458         Notes 2 & 3
   IRIX 6.5.15       yes          4458         Notes 2 & 3
   IRIX 6.5.16       yes          4458         Notes 2 & 3

   NOTES

     1) This version of the IRIX operating has been retired. Upgrade to an
        actively supported IRIX operating system.  See
        http://support.sgi.com/irix/news/index.html#policy for more
        information.

     2) If you have not received an IRIX 6.5.X CD for IRIX 6.5, contact your
        SGI Support Provider or URL: http://support.sgi.com/irix/swupdates/

     3) It is important to read and follow the instructions in the Release
        Notes, as installation of this patch is somewhat different than the
        normal IRIX patch installation process.


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

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

Filename:                 README.patch.4458
Algorithm #1 (sum -r):    50917 16 README.patch.4458
Algorithm #2 (sum):       57222 16 README.patch.4458
MD5 checksum:             D49E1BC06F81D30936E989B5CD80AAAB

Filename:                 patchSG0004458
Algorithm #1 (sum -r):    01038 2 patchSG0004458
Algorithm #2 (sum):       47864 2 patchSG0004458
MD5 checksum:             5F064AA44D481399A5A2DF80A793E5A5

Filename:                 patchSG0004458.idb
Algorithm #1 (sum -r):    11186 3 patchSG0004458.idb
Algorithm #2 (sum):       40448 3 patchSG0004458.idb
MD5 checksum:             22A1B02382466557D89C8ADF1103D413

Filename:                 patchSG0004458.ip_enterprise_sw
Algorithm #1 (sum -r):    24113 23 patchSG0004458.ip_enterprise_sw
Algorithm #2 (sum):       15037 23 patchSG0004458.ip_enterprise_sw
MD5 checksum:             471CE5D3EDE623B3C464EB5812D25CA2

Filename:                 swmgr.README.html
Algorithm #1 (sum -r):    08491 2 swmgr.README.html
Algorithm #2 (sum):       28127 2 swmgr.README.html
MD5 checksum:             DA5DCB9051F1C1B65397A6D0CAEB35FC


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

SGI wishes to thank Kevin Dunn, Chris Eng, CERT, and the users of the
Internet Community at large for their assistance in this matter.


- - -------------
- - --- Links ---
- - -------------

SGI Security Advisories can be found at:
http://www.sgi.com/support/security/ and
ftp://patches.sgi.com/support/free/security/advisories/

SGI Security Patches can be found at:
http://www.sgi.com/support/security/ and
ftp://patches.sgi.com/support/free/security/patches/

SGI patches for IRIX can be found at the following patch servers:
http://support.sgi.com/irix/ and ftp://patches.sgi.com/

SGI freeware updates for IRIX can be found at:
http://freeware.sgi.com/

SGI fixes for SGI open sourced code can be found on:
http://oss.sgi.com/projects/

SGI patches and RPMs for Linux can be found at:
http://support.sgi.com/linux/ or
http://oss.sgi.com/projects/sgilinux-combined/download/security-fixes/

SGI patches for Windows NT or 2000 can be found at:
http://support.sgi.com/nt/

IRIX 5.2-6.4 Recommended/Required Patch Sets can be found at:
http://support.sgi.com/irix/ and ftp://patches.sgi.com/support/patchset/

IRIX 6.5 Maintenance Release Streams can be found at:
http://support.sgi.com/colls/patches/tools/relstream/index.html

IRIX 6.5 Software Update CDs can be obtained from:
http://support.sgi.com/irix/swupdates/

The primary SGI anonymous FTP site for security advisories and patches is
patches.sgi.com (216.32.174.211).  Security advisories and patches are
located under the URL ftp://patches.sgi.com/support/free/security/

For security and patch management reasons, ftp.sgi.com (mirrors
patches.sgi.com security FTP repository) lags behind and does not do a
real-time update.


- - -----------------------------------------
- - --- SGI Security Information/Contacts ---
- - -----------------------------------------

If there are questions about this document, email can be sent to
security-info@sgi.com.

                      ------oOo------

SGI 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 advisories and patches is
patches.sgi.com (216.32.174.211).  Security advisories and patches are
located under the URL ftp://patches.sgi.com/support/free/security/

The SGI Security Headquarters Web page is accessible at the URL:
http://www.sgi.com/support/security/

For issues with the patches on the FTP sites, email can be sent to
security-info@sgi.com.

For assistance obtaining or working with security patches, please
contact your SGI support provider.

                      ------oOo------

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

SGI provides a comprehensive customer World Wide Web site. This site is
located at http://www.sgi.com/support/security/ .

                      ------oOo------

If there are general security questions on SGI systems, email can be sent to
security-info@sgi.com.

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, SGI is appropriately credited and the document retains and
      includes its valid PGP signature.


- -----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBPUmTG7Q4cFApAP75AQEVtwP/YLs3yg+Hc64d93yPzIUrwF+rEk9w3XyH
2A5II9xr4elkWqFma8U6T5p/J9WohxcrWW9SOF/88+eqwzga6eVlIqhOe4D47or3
D5h+1ecJnfyGBnB3nbcR5g3SdPOn0EwCARDeIKkQ5GGivnCMa6UrydvaLl1pRlG+
w5Q443Lo+ak=
=K5xS
- -----END PGP SIGNATURE-----

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

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content.  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 may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the original authors to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  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
Facsimile:      (07) 3365 7031
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 PGP SIGNATURE-----
Version: 2.6.3i
Charset: noconv
Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key

iQCVAwUBPUp7wyh9+71yA2DNAQHkAAP/emmWkOKhWFoDh/JALkuPazV/pBmd9fVa
7/Jh2/pV/t1FjuOcrlhz+jBYyJbehQpWgSehi9voKjsC8ACFE9h47drkZdWC3U3s
9uJcNCMqrPLTXz8U+L5aD2xe2j3NabVTxDW6U8M58JuPoWbU09I0ZLVrB98H31bO
3YHJF0tDC2c=
=WhAz
-----END PGP SIGNATURE-----