GLSA Bodhisattva
Joined: 25 Feb 2003 Posts: 3829 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)
Severity: normal
Exploitable: remote
Date: January 14, 2005
Bug(s): #74704
ID: 200501-24
Synopsis
tnftp fails to validate filenames when downloading files, making it vulnerable to arbitrary file overwriting.
Background
tnftp is a NetBSD FTP client with several advanced features.
Affected Packages
Package: net-ftp/tnftp
Vulnerable: < 20050103
Unaffected: >= 20050103
Architectures: All supported architectures
Description
The 'mget' function in cmds.c lacks validation of the filenames that are supplied by the server.
Impact
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.
Workaround
There is no known workaround at this time.
Resolution
All tnftp users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=net-ftp/tnftp-20050103" |
References
CAN-2004-1294
Original Advisory
Last edited by GLSA on Fri Jun 16, 2006 4:16 am; edited 3 times in total |
|