Multiple OpenSSH/OpenSSL Vulnerabilities on IRIX
-----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@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
iQCVAwUBP3m2VrQ4cFApAP75AQGPtwQApseFjnqRo++98Q60XQYNPPekoF8oSpkN
W19OBvKJWxr1ek1dURhYVoF+IkbtL6dVY3TwpTvefHnDCL8zu0/Aeo8mXDZF0Elq
P6BazUlhS8ksT5lqi90ySCe2jFuVeWDGxYymTL/hWtUtdChHcyl0s9VQqjMfu2Ck
rNA3hOkjWjs=
=FbEC
-----END PGP SIGNATURE-----