Gentoo Logo

glFTPd: Local buffer overflow vulnerability


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200409-27 / glftpd
Release Date September 21, 2004
Latest Revision September 21, 2004: 01
Impact normal
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
net-ftp/glftpd < 1.32-r1 >= 1.32-r1 All supported architectures

Related bugreports: #64809


glFTPd is vulnerable to a local buffer overflow which may allow arbitrary code execution.

2.  Impact Information


glFTPd is a highly configurable FTP server with many features.


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.


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.

3.  Resolution Information


There is no known workaround at this time.


All glFTPd users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge sync
# emerge -pv ">=net-ftp/glftpd-1.32-r1"
# emerge ">=net-ftp/glftpd-1.32-r1"

4.  References


Page updated September 21, 2004

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.