Title: ProFTPD ASCII File Transfer Buffer Overrun Vulnerability
Severity: HIGH
Description:
ProFTPD is an FTP server implementation that is available for Unix and Linux platforms.
A remotely exploitable buffer overrun vulnerability has been reported in ProFTPD.
This issue could be triggered if a malicious file is transferred in ASCII mode. Specifically, ASCII transfers are read in 1024 byte chunks and checked for newlines (\n). Improper handling of newline characters in ASCII files may potentially be abused to corrupt memory with attacker-supplied values. If sensitive values in memory such as instruction pointers can be overwritten with attacker-supplied data, it will be possible to control execution flow of the process and execute arbitrary code.
Successful exploitation will permit a malicious FTP user with upload access to execute arbitrary code in the context of the FTP server. To exploit the issue, the attacker must upload the malicious file and then attempt to download it.
It is also reported that ProFTPD does not adequately drop privileges in some circumstances, which may compound the risks associated with exploitation.
This issue could also affect versions prior to 1.2.7, though this has not been confirmed.
SuSE has reported that the ProFTPD package shipped in SuSE 7.3 is not affected by this issue due to a modified procedure. Later SuSE releases did not ship with a ProFTPD package.
Affected Products:
- ProFTPD Project ProFTPD 1.2.7
- ProFTPD Project ProFTPD 1.2.7 rc1
- ProFTPD Project ProFTPD 1.2.7 rc2
- ProFTPD Project ProFTPD 1.2.7 rc3
- ProFTPD Project ProFTPD 1.2.8
- ProFTPD Project ProFTPD 1.2.8 rc1
- ProFTPD Project ProFTPD 1.2.8 rc2
- ProFTPD Project ProFTPD 1.2.9 rc1
- ProFTPD Project ProFTPD 1.2.9 rc2
- Slackware Linux -current
- Slackware Linux 8.1.0
- Slackware Linux 9.0.0
- Sun Cobalt Qube 3
- Sun Cobalt RaQ XTR
References:
- ISS: ProFTPD ASCII File Remote Compromise Vulnerability
- ProFTPD: ProFTPD Home Page
- ProFTPD: ProFTPD Remote Exploit
- Slackware: [slackware-security] ProFTPD Security Advisory (SSA:2003-259-02)
- Sun: RaQ XTR Patch Page
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.