Multiple vendor SSH Server key exchange buffer overflow

freesshd-key-exchange-bo (26442) The risk level is classified as HighHigh Risk

Description:

Multiple vendor's SSH server software, including freeSSHd and the wodSSHServer ActiveX Component, are vulnerable to a stack-based buffer overflow, caused by improper bounds checking of key exchange algorithm strings. By sending a specially-crafted key from an SSH client, a remote attacker could overflow a buffer and cause the system to crash or possibly execute arbitrary code on the affected system.

Platforms Affected:

  • freeSSHd development team, freeSSHd 1.0.9 and prior
  • WeOnlyDo, wodSSHServer ActiveX Component 1.2.7 and prior
  • WeOnlyDo, wodSSHServer ActiveX Component 1.3.3 and prior

Remedy:

For freeSSHd:
Upgrade to the latest version (1.0.10 or later), available from the freeSSHd Web site. See References.

For wodSSHServer ActiveX Component:
Upgrade to the latest vesion (1.3.4 or later), available from the WeOnlyDo Software Web site. See References.

Consequences:

Gain Access

References:

  • freeSSHd Web site, freeSSHd - free SSH Server at http://freesshd.com/.
  • Full-Disclosure Mailing List, Sun May 14 2006 - 16:48:46 CDT, POC exploit for freeSSHd version 1.0.9 at http://archives.neohapsis.com/archives/fulldisclosure/2006-05/0351.html.
  • WeOnlyDo Software Web site, SSH ActiveX Server, Telnet Server, SCP Server, SFTP Server, SSH Component (VB, VC, Delphi) - WeOnlyDo! Software at http://www.weonlydo.com/index.asp?showform=SSHServer.
  • BID-17958: Multiple Vendor SSH Server Remote Buffer Overflow Vulnerability
  • CVE-2006-2407: Stack-based buffer overflow in (1) WeOnlyDo wodSSHServer ActiveX Component 1.2.7 and 1.3.3 DEMO, as used in other products including (2) FreeSSHd 1.0.9 and (3) freeFTPd 1.0.10, allows remote attackers to execute arbitrary code via a long key exchange algorithm string.
  • OSVDB ID: 25463: FreeSSHd Key Exchange Algorithm String Remote Overflow
  • OSVDB ID: 25569: freeFTPd SFTP Key Exchange Algorithm String Remote Overflow
  • SA19845: wodSSHServer Key Exchange Algorithm String Buffer Overflow
  • SA19846: FreeSSHd Key Exchange Algorithm String Buffer Overflow
  • SA20136: FreeFTPd SFTP Key Exchange Algorithm String Buffer Overflow
  • US-CERT VU#477960: WeOnlyDo! Software wodSSHServer ActiveX component fails to properly validate key exchange algorithm strings
  • VUPEN/ADV-2006-1785: wodSSHServer Key Exchange Algorithm String Buffer Overflow Vulnerability
  • VUPEN/ADV-2006-1786: FreeSSHd Key Exchange Algorithm String Remote Buffer Overflow Vulnerability
  • VUPEN/ADV-2006-1842: FreeFTPd Key Exchange Algorithm String Remote Buffer Overflow Vulnerability

Reported:

May 12, 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 (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

Return to the main page