GLSA 200508-02: ProFTPD: Format string vulnerabilities

Severity:normal
Title:ProFTPD: Format string vulnerabilities
Date:08/01/2005
Bugs: #100364
ID:200508-02

Synopsis

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

Background

ProFTPD is a configurable GPL-licensed FTP server software.

Affected packages

Package Vulnerable Unaffected Architecture(s)
net-ftp/proftpd < 1.2.10-r7 >= 1.2.10-r7 All supported architectures

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.

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:

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

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200508-02.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!