hsftp format string attack

hsftp-format-string (15276) The risk level is classified as HighHigh Risk

Description:

hsftp is vulnerable to a format string attack. By creating files with specially-crafted filenames, a remote attacker in control of a remote server, could overwrite memory and execute arbitrary code on the system with privileges of the user, once the user sends a request for a directory listing.


Consequences:

Gain Access

Remedy:

For Debian GNU/Linux 3.0 (woody):
Upgrade to the latest hsftp package (1.11-1woody1 or later), as listed in DSA-411-1. See References.

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

References:

  • BID-9715: Samhain Labs HSFTP Remote Format String Vulnerability
  • CVE-2004-0159: Format string vulnerability in hsftp 1.11 allows remote authenticated users to cause a denial of service and possibly execute arbitrary code via file names containing format string characters that are not properly handled when executing an ls command.
  • DSA-447: hsftp -- format string
  • OSVDB ID: 4029: Hsftp Filename Format String

Platforms Affected:

  • Debian Debian Linux 3.0
  • samhain design labs hsftp

Reported:

Feb 22, 2004

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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page