GLSA-200501-24 : tnftp: Arbitrary file overwriting

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200501-24
(tnftp: Arbitrary file overwriting)

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.

See also :

http://www.nessus.org/u?e90675a2
http://www.gentoo.org/security/en/glsa/glsa-200501-24.xml

Solution :

All tnftp users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=net-ftp/tnftp-20050103'

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 16415 (gentoo_GLSA-200501-24.nasl)

Bugtraq ID:

CVE ID: CVE-2004-1294