Samhain Labs HSFTP Remote Format String Vulnerability

BID:9715

Info

Samhain Labs HSFTP Remote Format String Vulnerability

Bugtraq ID: 9715
Class: Input Validation Error
CVE: CVE-2004-0159
Remote: No
Local: Yes
Published: Feb 23 2004 12:00AM
Updated: Jul 12 2009 03:06AM
Credit: Discovery of this issue has been credited to Ulf Harnhammar.
Vulnerable: Samhain Labs hsftp 1.14
Samhain Labs hsftp 1.13
Samhain Labs hsftp 1.11
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0
+ Mandriva Linux Mandrake 9.2 amd64
+ Mandriva Linux Mandrake 9.2
+ Mandriva Linux Mandrake 9.1 ppc
+ Mandriva Linux Mandrake 9.1
+ Mandriva Linux Mandrake 8.2 ppc
+ Mandriva Linux Mandrake 8.2
+ Mandriva Linux Mandrake 8.1 ia64
+ Mandriva Linux Mandrake 8.1
+ Mandriva Linux Mandrake 8.0 ppc
+ Mandriva Linux Mandrake 8.0
Samhain Labs hsftp 1.10
Samhain Labs hsftp 1.9
Samhain Labs hsftp 1.7
Samhain Labs hsftp 1.6
Samhain Labs hsftp 1.5
Samhain Labs hsftp 1.4
hsftp hsftp 1.14
hsftp hsftp 1.13
hsftp hsftp 1.11
hsftp hsftp 1.10
hsftp hsftp 1.9
hsftp hsftp 1.7
hsftp hsftp 1.6
hsftp hsftp 1.5
hsftp hsftp 1.4
Not Vulnerable:

Discussion

Samhain Labs HSFTP Remote Format String Vulnerability

hsftp has been found to be prone to a remote print format string vulnerability. This issue is due to the application improper use of a format printing function.

Ultimately this vulnerability could allow for execution of arbitrary code on the system implementing the affected software, which would occur in the security context of the server process.

Exploit / POC

Samhain Labs HSFTP Remote Format String Vulnerability

Exploit code has been provided by priestmaster <[email protected]>.

Solution / Fix

Samhain Labs HSFTP Remote Format String Vulnerability

Solution:
The vendor has reportedly addressed this issue in the upstream version 1.14.

Debian has released advisory DSA 447-1 dealing with this issue. Please see the reference section for more details.

Fixes:


Samhain Labs hsftp 1.11

hsftp hsftp 1.11

References

Samhain Labs HSFTP Remote Format String Vulnerability

References:
© CVE.report 2026 |

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. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report