LSH file descriptor leak information disclosure and denial of service

lsh-file-descriptor-leak (24263) The risk level is classified as LowLow Risk

Description:

LSH leaks file descriptors of the random generator seed file to user shells that are started by lshd. This could allow a local attacker to cause a denial of service by truncating the seed file, or obtain sensitive information that could be used to crack session keys.

Platforms Affected:

  • Debian, Debian Linux 3.1
  • GNU, LSH 2.0.1

Remedy:

For vendor-supplied patch, refer to the lsh-bugs Mailing List posting dated Fri Jan 20 17:44:07 CET 2006. See References.

For Debian GNU/Linux:
Refer to DSA-956-1 for patch, upgrade, or suggested workaround information. See References.

Consequences:

Obtain Information

References:

  • lsh Web page, LSH - a GNU implementation of the Secure Shells protocols at http://www.lysator.liu.se/~nisse/lsh/.
  • lsh-bugs Mailing List, Fri Jan 20 17:44:07 CET 2006, SECURITY: lshd leaks fd:s to user shells at http://lists.lysator.liu.se/pipermail/lsh-bugs/2006q1/000467.html.
  • BID-16357: LSH Seed File File Descriptor Leakage Vulnerability
  • CVE-2006-0353: unix_random.c in lshd for lsh 2.0.1 leaks file descriptors related to the randomness generator, which allows local users to cause a denial of service by truncating the seed file, which prevents the server from starting, or obtain sensitive seed information that could be used to crack keys.
  • DSA-956: lsh-server -- filedescriptor leak
  • FrSIRT/ADV-2006-0301: LSH lshd Seed-file Information Disclosure and Denial of Service Issue
  • OSVDB ID: 22695: LSH lshd Seed-file File Descriptor Leak
  • SA18564: LSH lshd Seed-file File Descriptor Leak Vulnerability

Reported:

Jan 20, 2006

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