tnftp is vulnerable to remote code execution if output file is not specified.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| net-ftp/tnftp | * | < 20141104 | >= 20141104 |
tnftp is a NetBSD FTP client with several advanced features.
The fetch_url function in usr.bin/ftp/fetch.c allows remote attackers to execute arbitrary commands via a
A remote attacker could possibly execute arbitrary code with the privileges of the process.
There is no known workaround at this time.
All tnftp users should upgrade to the latest version:
# emerge --sync # emerge --ask --verbose --oneshot ">=net-ftp/tnftp-20141104"
tnftp fails to validate filenames when downloading files, making it vulnerable to arbitrary file overwriting.
| Package | Arch | Vulnerable | Unaffected |
|---|---|---|---|
| net-ftp/tnftp | * | < 20050103 | >= 20050103 |
tnftp is a NetBSD FTP client with several advanced features.
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"