M-054: OpenSSH Contains Remote Exploitable Vulnerability Privacy and Legal Notice

CIAC INFORMATION BULLETIN

M-054: OpenSSH Contains Remotely Exploitable Vulnerability

[Pine Internet Security Advisory 20020301]

March 7, 2002 18:00 GMT

PROBLEM: A remotely exploitable vulnerability has been identified in the channel code of OpenSSH.
PLATFORM: All platforms using OpenSSH versions prior to version 3.1.
DAMAGE: Users with an existing account could upgrade privileges, up to and including root. Exploitability without an existing user account has not been proven but is not considered impossible. A malicious ssh server could also use this vulnerability to exploit a connecting vulnerable client.
SOLUTION: CIAC recommends that you upgrade to version 3.1 or apply the included patch.

VULNERABILITY
ASSESSMENT:
The risk is MEDIUM. Exploitability without an existing user account has not been proven.

LINKS:  
  CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/m-054.shtml
  ORIGINAL BULLETIN: http://www.pine.nl/advisories/pine-cert-20020301.txt
  PATCHES: http://www.openssh.com
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh
http://www.pine.nl/advisories/pine-cert-20020301.patch

[***** Start Pine Internet Security Advisory 20020301 *****]

-----------------------------------------------------------------------------
 Pine Internet Security Advisory
-----------------------------------------------------------------------------
 Advisory ID       : PINE-CERT-20020301
 Authors           : Joost Pol 
 Issue date        : 2002-03-07
 Application       : OpenSSH
 Version(s)        : All versions between 2.0 and 3.0.2
 Platforms         : multiple
 Vendor informed   : 20020304
 Availability      : http://www.pine.nl/advisories/pine-cert-20020301.txt
-----------------------------------------------------------------------------

Synopsis

   A bug exists in the channel code of OpenSSH versions 2.0 - 3.0.2

   Users with an existing user account can abuse this bug to
   gain root privileges. Exploitability without an existing
   user account has not been proven but is not considered
   impossible. A malicious ssh server could also use this bug 
   to exploit a connecting vulnerable client.

Impact

   HIGH: Existing users will gain root privileges.

Description

   Simple off by one error. Patch included.

Solution

   The OpenSSH project will shortly release version 3.1. 
	
   Upgrading to this version is highly recommended. 

   This version will be made available at http://www.openssh.com

   The FreeBSD port of OpenSSH has been updated to reflect the 
   patches as supplied in this document.

   OpenSSH CVS has been updated, see
	
   OpenBSD cvs entry for channels.c

   Or apply the attached patch as provided by PINE Internet:

   http://www.pine.nl/advisories/pine-cert-20020301.patch

[***** End Pine Internet Security Advisory 20020301 *****]


CIAC wishes to acknowledge the contributions of Pine CERT for the information contained in this bulletin.
CIAC services are available to DOE, DOE Contractors, and the NIH. CIAC can be contacted at:
    Voice:          +1 925-422-8193 (7 x 24)
    FAX:            +1 925-423-8002
    STU-III:        +1 925-423-2604
    E-mail:          ciac@ciac.org
    World Wide Web:  http://www.ciac.org/
    Anonymous FTP:   ftp.ciac.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.
UCRL-MI-119788
[Privacy and Legal Notice]