Joined: 25 Feb 2003
Location: Essen, Germany
|Posted: Fri Jan 14, 2005 7:16 am Post subject: [ GLSA 200501-24 ] tnftp: Arbitrary file overwriting
|Gentoo Linux Security Advisory
Title: tnftp: Arbitrary file overwriting (GLSA 200501-24)
Date: January 14, 2005
tnftp fails to validate filenames when downloading files, making it vulnerable to arbitrary file overwriting.
tnftp is a NetBSD FTP client with several advanced features.
Vulnerable: < 20050103
Unaffected: >= 20050103
Architectures: All supported architectures
The 'mget' function in cmds.c lacks validation of the filenames that are supplied by the server.
An attacker running an FTP server could supply clients with malicious filenames, potentially allowing the overwriting of arbitrary files with the permission of the connected user.
There is no known workaround at this time.
All tnftp users should upgrade to the latest version:
|# emerge --sync
# emerge --ask --oneshot --verbose ">=net-ftp/tnftp-20050103"
Last edited by GLSA on Fri Jun 16, 2006 4:16 am; edited 3 times in total