SSH protocol 1.5 deattack.c allows memory to be overwritten

ssh-deattack-overwrite-memory (6083) The risk level is classified as HighHigh Risk

Description:

SSH (Secure Shell) could allow an attacker to overwrite arbitrary memory locations, due to a vulnerability in the deattack.c daemon. Insufficient range control calculations could allow an attacker to cause an integer overflow in the detect_attack function in deattack.c and overwrite arbitrary memory locations that contain code executed with UID 0, which the attacker could use to gain root privileges on the system.

Platforms Affected:

  • SSH, SSH

Remedy:

For vulnerability detection:

Enable the following checks in the ISS Protection Platform:
SshDeattackOverwriteMemory

For Virtual Patch:

Enable the following checks in the ISS Protection Platform:
SSH_Deattack_IO

Block or restrict the following in the ISS Protection Platform as appropriate to the environment:
Port 22

For Manual Protection:

For SSH-1.2.24 through 1.2.31:
Upgrade to SSH2, available from the SSH Secure Shell Download Page. See References.

For Debian GNU/Linux 2.2 (potato):
Upgrade to the latest version of openssh (1.2.3-9.2 or later), as listed in DSA-027-1, or ssh-nonfree (1.2.26-6.2 or later), as listed in DSA 086-1. See References.

For FreeBSD:
Upgrade to the latest version of sshd (4.2 or later), as listed in FreeBSD Security Advisory FreeBSD-SA-01:24. See References.

For NetBSD:
Upgrade to the latest version of ssh, as listed in NetBSD Security Advisory 2001-003. See References.

For SuSE Linux:
Upgrade to the latest version of ssh (1.2.27 or later), as listed in SuSE Security Announcement SuSE-SA:2001:04. See References.

For OSSH 1.5.7 and earlier:
Upgrade to the latest version of OSSH (1.5.8 or later), available at OSSH FTP site. See References.

For OpenSSH prior to 2.3.0:
Upgrade to the latest version of OpenSSH (2.3.0 or later), available from the OpenSSH Web site. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

Consequences:

Gain Access

References:

Reported:

Feb 08, 2001

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

Copyright (c) 1994-2008 Internet Security Systems, Inc. All rights reserved worldwide.

For corrections or additions please email xforce@iss.net

Return to the main page