LSH heap overflow
| lsh-heap-overflow (13245) |
Description:
LSH is vulnerable to a heap overflow. A remote attacker could exploit this vulnerability to overflow a buffer and execute arbitrary code on the system with root privileges.
Consequences:
Gain Access
Remedy:
For LSH prior to 1.4.3:
Upgrade to the latest version of LSH (1.4.3 or later), available from the LSH Web page. See References.
For LSH prior to 1.5, 1.5.1, and 1.5.2:
Upgrade to the latest version of LSH (1.5.3 or later), available from the LSH Web page. See References.
For SuSE Linux:
Upgrade to the latest lsh package, as listed below. Refer to SuSE Security Announcement SuSE-SA:2003:041 for more information. See References.
SuSE Linux 8.2 (Intel): 1.5-114 or later
SuSE Linux 8.1: 1.4.2-73 or later
SuSE Linux 8.0: 1.3.5-188 or later
For Debian GNU/Linux:
Refer to DSA-717-1 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- BugTraq Mailing List, Fri Sep 19 2003 - 08:01:24 CDT: Remote root vuln in lsh 1.4.x.
- BugTraq Mailing List, Sat Sep 20 2003 - 03:58:55 CDT: LSH: Buffer overrun and remote root compromise in lshd.
- lsh Web site: LSH - a GNU implementation of the Secure Shells protocols.
- BID-8655: LSH Remote Buffer Overflow Vulnerability
- CVE-2003-0826: lsh daemon (lshd) does not properly return from certain functions in (1) read_line.c, (2) channel_commands.c, or (3) client_keyexchange.c when long input is provided, which could allow remote attackers to execute arbitrary code via a heap-based buffer overflow attack.
- DSA-717: lsh-utils -- buffer overflow
Platforms Affected:
- Debian Debian Linux 3.0
- GNU LSH 1.4
- GNU LSH 1.4.1
- GNU LSH 1.4.2
- GNU LSH 1.5
- GNU LSH 1.5.1
- GNU LSH 1.5.2
- SUSE SuSE Linux 8.0
- SUSE SuSE Linux 8.1
- SUSE SuSE Linux 8.2
Reported:
Sep 20, 2003
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 (IBM 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.
For corrections or additions please email xforce@iss.net
