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

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

           ESB-2003.0691 -- SGI Security Advisory 20030904-01-P
                 Multiple OpenSSH/OpenSSL Vulnerabilities
                              01 October 2003

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

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

Product:                OpenSSH
                        OpenSSL
Publisher:              SGI
Operating System:       IRIX
Impact:                 Denial of Service
                        Execute Arbitrary Code/Commands
Access Required:        Remote
CVE Names:              CAN-2003-0693 CAN-2003-0695 CAN-2003-0682 (OpenSSH)
                        CAN-2003-0786 CAN-2003-0787 (PAM and OpenSSH)
                        CAN-2003-0543 CAN-2003-0544 CAN-2003-0545 (OpenSSL)

Ref:                    AL-2003.16
                        AL-2003.17
                        AL-2003.18
                        ESB-2003.0687

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

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

______________________________________________________________________________
                           SGI Security Advisory

  Title     : Multiple OpenSSH/OpenSSL Vulnerabilities
  Number    : 20030904-01-P
  Date      : September 30, 2003
  Reference : CERT CA-2003-24
  Reference : CVE CAN-2003-0693 CAN-2003-0695 CAN-2003-0682 (OpenSSH)
  Reference : CVE CAN-2003-0786 CAN-2003-0787 (PAM and OpenSSH)
  Reference : CVE CAN-2003-0543 CAN-2003-0544 CAN-2003-0545 (OpenSSL)
  Reference : SGI BUGs 900744 899663 (OpenSSH)
  Reference : SGI BUGs 900564 (OpenSSL)
  Fixed in  : New OpenSSH/OpenSSL packages from IRIX 6.5.22
______________________________________________________________________________

SGI provides this information freely to the SGI user community for its
consideration, interpretation, implementation and use.  SGI recommends that
this information be acted upon as soon as possible.

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

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

It has been reported that OpenSSH/OpenSSL that ships with IRIX has several
security vulnerabilities that may lead to root access on vulnerable systems.

1) buffer.c vulnerability fixed in OpenSSH 3.7 (CAN-2003-0693)
    http://marc.theaimsgroup.com/?l=bugtraq&m=106373247528528&w=2
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0693

2) More buffer management vulnerabilities fixed in OpenSSH 3.7.1 (CAN-2003-0695)
    http://www.openssh.com/txt/buffer.adv
    http://www.cert.org/advisories/CA-2003-24.html
    http://www.kb.cert.org/vuls/id/333628
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0695

3) Openwall's "memory" security fixes to OpenSSH 3.7.1 (CAN-2003-0682)
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0682

4) ssh-keysign cores dump on IRIX (SGI BUG 899663)

5) Multiple OpenSSL vulnerabilities in ASN.1 parsing
    http://www.openssl.org/news/secadv_20030930.txt
    http://www.uniras.gov.uk/vuls/2003/006489/openssl.htm
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0543
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0544
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0545

Please note that the OpenSSH which ships with IRIX is NOT vulnerable
to the two recent PAM vulnerabilities found in portable OpenSSH 3.7/3.7.1:
    http://www.openssh.com/txt/sshpam.adv
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0786
    http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0787

    * However, the Freeware OpenSSH from http://freeware.sgi.com/
    is PAM enabled and possibly vulnerable to these issues.

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

These vulnerabilities have been corrected in future releases of OpenSSH
and OpenSSL for IRIX.


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

OpenSSH client is installed by default on IRIX 6.5.19 and above.  OpenSSH
server is provided on IRIX 6.5.19 and above, but not installed by default.
OpenSSL libraries are installed by default on IRIX 6.5.19 and above

To determine the version of OpenSSH you are running, execute the
following command:

  % versions -b openssh openssl

This will return a result similar to the following output:

 I = Installed, R = Removed

  Name     Date        Description
I openssh  09/16/2003  OpenSSH server and client tools, 3.6.1p2
I openssl  09/16/2003  openssl libraries, 0.9.7b

If the output is similar to the above, then OpenSSH/OpenSSL are installed
and the system may be vulnerable unless patched.


- - ----------------------------
- - --- Temporary Workaround ---
- - ----------------------------

There is no effective workaround available for these vulnerabilities.
SGI recommends upgrading OpenSSH and OpenSSL


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

SGI has provided new OpenSSH/OpenSSL packages for these vulnerabilities.

This OpenSSH 3.6.1p2 package has the fixes backported from OpenSSH 3.7.1p2:
ftp://patches.sgi.com/support/free/security/patches/6.5.22/openssh.tardist

This OpenSSL 0.9.7b package has the fixes backported from OpenSSL 0.9.7c:
ftp://patches.sgi.com/support/free/security/patches/6.5.22/openssl.tardist

The MD5 checksum for these packages are:
ae84674cd118671feba4ae4dfe2c8718  openssh.tardist
3dd6dcdc543d179137c1d5d69b1696e8  openssl.tardist
An MD5 checksum tool called md5sum can be found on http://freeware.sgi.com/

Our recommendation is to update both OpenSSH and OpenSSL packages, as they
are a matched set.  Both packages are from IRIX 6.5.22 Applications CD and
can be installed on IRIX 6.5.19 and above.

SGI Freeware team has also provided an updated OpenSSH 3.7.1p2 package
available from http://freeware.sgi.com/Dist/fw_openssh-3.7.1p2.tardist
Freeware is not supported by SGI.


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

SGI wishes to thank OpenSSH.org, OpenSSL.org, Openwall, WM-data and UNIRAS
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/ and ftp://patches.sgi.com/

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

SGI patches and RPMs for Linux can be found at:
http://support.sgi.com

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

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

IRIX 6.5 Maintenance Release Streams can be found at:
http://support.sgi.com/

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

The primary SGI anonymous FTP site for security advisories and patches is
patches.sgi.com.  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.  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 such as midwatch@sgi.com >
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

iQCVAwUBP3m2VrQ4cFApAP75AQGPtwQApseFjnqRo++98Q60XQYNPPekoF8oSpkN
W19OBvKJWxr1ek1dURhYVoF+IkbtL6dVY3TwpTvefHnDCL8zu0/Aeo8mXDZF0Elq
P6BazUlhS8ksT5lqi90ySCe2jFuVeWDGxYymTL/hWtUtdChHcyl0s9VQqjMfu2Ck
rNA3hOkjWjs=
=FbEC
- -----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 follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

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 author's website 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/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

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 member emergencies only.
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBP3okWyh9+71yA2DNAQEMWQP/cKHL4u0/SLA0HEz4UHLdbkvsbdTGJKw9
Lf9aCWS4bavuBDI6RUa9Y/VuA15F6/VEj4zN+k85AU07Bi3W1terdf71Om9clBx/
w84ORu7wW47o1fZMG8bx8lST6E5Y506jGiaE4KNNCwIxSaPfuCiNfEH85WmWX46A
sEB8TMTifhU=
=T5Zq
-----END PGP SIGNATURE-----