ProFTPD <= 1.3.5b Remote Code Execution
High Nessus Network Monitor Plugin ID 701079
SynopsisThe remote FTP server is affected by a code execution vulnerability.
DescriptionThe remote host is using ProFTPD, a free FTP server for Unix and Linux.
All versions of ProFTPD incliuding 1.3.5b are affected by a remote code execution vulnerability due to an arbitrary file copy flaw in the mod_copy module, which is part of the default installation of ProFTPD and 'enabled by default in most distributions' according to the researcher who discovered the bug. According to the ProFTPD bug report, mod_copy does not honor the %lt;Limit READ> and <Limit WRITE> configuration settings, thereby allowing a remote attacker write permissions to 'copy any file on the FTP server' using CPFR and CPTO commands.
SolutionUpgrade to the latest version. As a workaround, disable mod_copy in the ProFTPd configuration file.