GLSA 200409-27: glFTPd: Local buffer overflow vulnerability

Severity:normal
Title:glFTPd: Local buffer overflow vulnerability
Date:09/21/2004
Bugs: #64809
ID:200409-27

Synopsis

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

Background

glFTPd is a highly configurable FTP server with many features.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-ftp/glftpd < 1.32-r1 >= 1.32-r1 All supported architectures

Description

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.

Resolution

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"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200409-27.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!