Gentoo Logo

ProFTPD: Format string vulnerabilities

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200508-02 / proftpd
Release Date August 01, 2005
Latest Revision August 01, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
net-ftp/proftpd < 1.2.10-r7 >= 1.2.10-r7 All supported architectures

Related bugreports: #100364

Synopsis

Under specific circumstances, ProFTPD is vulnerable to format string vulnerabilities, potentially resulting in the execution of arbitrary code.

2.  Impact Information

Background

ProFTPD is a configurable GPL-licensed FTP server software.

Description

"infamous42md" reported that ProFTPD is vulnerable to format string vulnerabilities when displaying a shutdown message containing the name of the current directory, and when displaying response messages to the client using information retrieved from a database using mod_sql.

Impact

A remote attacker could create a directory with a malicious name that would trigger the format string issue if specific variables are used in the shutdown message, potentially resulting in a Denial of Service or the execution of arbitrary code with the rights of the user running the ProFTPD server. An attacker with control over the database contents could achieve the same result by introducing malicious messages that would trigger the other format string issue when used in server responses.

3.  Resolution Information

Workaround

Do not use the "%C", "%R", or "%U" in shutdown messages, and do not set the "SQLShowInfo" directive.

Resolution

All ProFTPD users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-ftp/proftpd-1.2.10-r7"

4.  References



Print

Page updated August 01, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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