GLSA-200501-24 : tnftp: Arbitrary file overwriting

medium Nessus Plugin ID 16415

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.

Solution

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

See Also

http://www.nessus.org/u?e90675a2

https://security.gentoo.org/glsa/200501-24

Plugin Details

Severity: Medium

ID: 16415

File Name: gentoo_GLSA-200501-24.nasl

Version: 1.17

Type: local

Published: 2/14/2005

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.5

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:tnftp, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 1/14/2005

Vulnerability Publication Date: 12/16/2004

Reference Information

CVE: CVE-2004-1294

GLSA: 200501-24