GLSA-200409-27 : glFTPd: Local buffer overflow vulnerability

This script is Copyright (C) 2004-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-200409-27
(glFTPd: Local buffer overflow vulnerability)

The glFTPd server is vulnerable to a buffer overflow in the 'dupescan'
program. This vulnerability is due to an unsafe strcpy() call which can
cause the program to crash when a large argument is passed.

Impact :

A local user with malicious intent can pass a parameter to the dupescan
program that exceeds the size of the buffer, causing it to overflow. This
can lead the program to crash, and potentially allow arbitrary code
execution with the permissions of the user running glFTPd, which could be
the root user.

Workaround :

There is no known workaround at this time.

See also :

http://www.securityfocus.com/archive/1/375775/2004-09-17/2004-09-23/0
http://www.nessus.org/u?d8a4e533
http://www.gentoo.org/security/en/glsa/glsa-200409-27.xml

Solution :

All glFTPd users should upgrade to the latest version:
# emerge sync
# emerge -pv '>=net-ftp/glftpd-1.32-r1'
# emerge '>=net-ftp/glftpd-1.32-r1'

Risk factor :

Medium

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14790 (gentoo_GLSA-200409-27.nasl)

Bugtraq ID:

CVE ID: