<<< Date Index >>>     <<< Thread Index >>>

Multiple OpenSSH/OpenSSL Vulnerabilities Update on IRIX



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

______________________________________________________________________________
                           SGI Security Advisory

  Title     : Multiple OpenSSH/OpenSSL Vulnerabilities Update
  Number    : 20030904-02-P
  Date      : December 3, 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 : CVE CAN-2003-0851 (OpenSSL ASN.1)
  Reference : SGI BUGs 900744 899663 (OpenSSH)
  Reference : SGI BUGs 900564 904644 (OpenSSL)
  Reference : SGI BUGs 901671 901706 901710 (Updates)
  Fixed in  : IRIX 6.5.22 and patches for IRIX 6.5.19-6.5.21
______________________________________________________________________________

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

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

This is an update to SGI Security Advisory 20030904-01-P.

The original OpenSSH and OpenSSL packages did not have incremented
version numbers, so it was difficult to determine if a system was
vulnerable or fixed after the packages were installed. (SGI BUG 901671)

IRIX 6.5.20 and above include Kerberos. IRIX 6.5.19 does not have Kerberos,
so there was a conflict with the OpenSSL package. Patches are being
released to address this problem on IRIX 6.5.19. (SGI BUG 901706)

There was an additional OpenSSL ASN.1 vulnerability reported by:
http://www.uniras.gov.uk/vuls/2003/006489/openssl2.htm
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0851
which has been fixed by these updated patches. (SGI BUG 904644)


- -----------------------
- --- 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 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 to IRIX 6.5.22 or installing the appropriate
patches.


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

SGI has provided a series of patches for these vulnerabilities. Our
recommendation is to upgrade to IRIX 6.5.22, or install the appropriate
patches.

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.


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

IRIX 6.5.19m      yes         5362        Notes 1 & 2
IRIX 6.5.19f      yes         5362        Notes 1 & 2
IRIX 6.5.20m      yes         5405        Notes 1 & 2
IRIX 6.5.20f      yes         5405        Notes 1 & 2
IRIX 6.5.21m      yes         5363        Notes 1 & 2
IRIX 6.5.21f      yes         5363        Notes 1 & 2
IRIX 6.5.22       no                      Notes 1 & 2

    NOTES

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

     2) Install the required patch(es) based on your operating release.

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

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

Filename:                 README.patch.5362
Algorithm #1 (sum -r):    08697 9 README.patch.5362
Algorithm #2 (sum):       9584 9 README.patch.5362
MD5 checksum:             648E54CF2F596B14754A55BAEC60D4D1

Filename:                 patchSG0005362
Algorithm #1 (sum -r):    00644 9 patchSG0005362
Algorithm #2 (sum):       35504 9 patchSG0005362
MD5 checksum:             BE764909D184D5BEAECC94E043D23DD8

Filename:                 patchSG0005362.idb
Algorithm #1 (sum -r):    46379 341 patchSG0005362.idb
Algorithm #2 (sum):       33666 341 patchSG0005362.idb
MD5 checksum:             0C7F3BAB71A95530D50023AB06FBC86C

Filename:                 patchSG0005362.openssh_man
Algorithm #1 (sum -r):    55192 291 patchSG0005362.openssh_man
Algorithm #2 (sum):       61501 291 patchSG0005362.openssh_man
MD5 checksum:             43DEC1544C12792B204B45CE44ED0C63

Filename:                 patchSG0005362.openssh_sw
Algorithm #1 (sum -r):    03650 4080 patchSG0005362.openssh_sw
Algorithm #2 (sum):       35524 4080 patchSG0005362.openssh_sw
MD5 checksum:             24EC1366E5B021FF02393F6CA95B5BC8

Filename:                 patchSG0005362.openssl_man
Algorithm #1 (sum -r):    02618 2359 patchSG0005362.openssl_man
Algorithm #2 (sum):       14996 2359 patchSG0005362.openssl_man
MD5 checksum:             2376774791FCE5680AF9DCBDEF25C959

Filename:                 patchSG0005362.openssl_sw
Algorithm #1 (sum -r):    19445 9813 patchSG0005362.openssl_sw
Algorithm #2 (sum):       28327 9813 patchSG0005362.openssl_sw
MD5 checksum:             53890E5CBE2ECFD1FB4A640A3E7EDD0D

Filename:                 README.patch.5363
Algorithm #1 (sum -r):    20016 8 README.patch.5363
Algorithm #2 (sum):       39948 8 README.patch.5363
MD5 checksum:             E49DF4FF468BA3279FB68198F77EC754

Filename:                 patchSG0005363
Algorithm #1 (sum -r):    01509 4 patchSG0005363
Algorithm #2 (sum):       477 4 patchSG0005363
MD5 checksum:             3BC22E303DE7038C218318CC45B8D047

Filename:                 patchSG0005363.idb
Algorithm #1 (sum -r):    08920 7 patchSG0005363.idb
Algorithm #2 (sum):       3872 7 patchSG0005363.idb
MD5 checksum:             12FDBDAC9B88C2A7DF5C0199DBEC823D

Filename:                 patchSG0005363.openssh_sw
Algorithm #1 (sum -r):    25243 3990 patchSG0005363.openssh_sw
Algorithm #2 (sum):       62195 3990 patchSG0005363.openssh_sw
MD5 checksum:             B6A76D90A75ED3A4833CDE1160355405

Filename:                 patchSG0005363.openssl_sw
Algorithm #1 (sum -r):    49172 6722 patchSG0005363.openssl_sw
Algorithm #2 (sum):       30923 6722 patchSG0005363.openssl_sw
MD5 checksum:             8A20A369CE05B3212CD086B21F2290D3

Filename:                 README.patch.5405
Algorithm #1 (sum -r):    55551 9 README.patch.5405
Algorithm #2 (sum):       9918 9 README.patch.5405
MD5 checksum:             ACB4D526DA0735CE9769DF1063B8404C

Filename:                 patchSG0005405
Algorithm #1 (sum -r):    50297 9 patchSG0005405
Algorithm #2 (sum):       34949 9 patchSG0005405
MD5 checksum:             87334D425A325C51852B2F15FFB7737E

Filename:                 patchSG0005405.idb
Algorithm #1 (sum -r):    43781 341 patchSG0005405.idb
Algorithm #2 (sum):       31743 341 patchSG0005405.idb
MD5 checksum:             753F735C29585EABD739DE65A633C3CD

Filename:                 patchSG0005405.openssh_man
Algorithm #1 (sum -r):    53881 291 patchSG0005405.openssh_man
Algorithm #2 (sum):       15235 291 patchSG0005405.openssh_man
MD5 checksum:             5C45134C85409C0B1C3FCD3D71742A49

Filename:                 patchSG0005405.openssh_sw
Algorithm #1 (sum -r):    62942 4077 patchSG0005405.openssh_sw
Algorithm #2 (sum):       2173 4077 patchSG0005405.openssh_sw
MD5 checksum:             ED908D5304C6BC6B44DC468255561F46

Filename:                 patchSG0005405.openssl_man
Algorithm #1 (sum -r):    56650 2427 patchSG0005405.openssl_man
Algorithm #2 (sum):       36163 2427 patchSG0005405.openssl_man
MD5 checksum:             8F45B002FB00AE0FE2F86741FE0217F6

Filename:                 patchSG0005405.openssl_sw
Algorithm #1 (sum -r):    22315 9916 patchSG0005405.openssl_sw
Algorithm #2 (sum):       14853 9916 patchSG0005405.openssl_sw
MD5 checksum:             ED425E33ADDE30EB27277B5F8D7E1C5C


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

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

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@xxxxxxx
subscribe wiretap < YourEmailAddress such as midwatch@xxxxxxx >
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@xxxxxxxx

For reporting *NEW* SGI security issues, email can be sent to
security-alert@xxxxxxx 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

iQCVAwUBP84xo7Q4cFApAP75AQFGXQQAlPN+BdZrLYHqHkRTz4MdeB8OXuNCiZ5p
ih9sNmH7mYt42DdGHktBqQKFaMW49w570ckk5diAdi1i2QibqkSVsBMI8rTUByFT
EYsbsytmAxZTwkFTUw/hTQHdk88BQTewCylTDSvbDZ52Sy7UcGzC+Iu/vzZM1C3y
ZnL75cUDFAc=
=Zxu/
-----END PGP SIGNATURE-----