ProFTPD < 1.3.3c Multiple Vulnerabilities

This script is Copyright (C) 2010-2014 Tenable Network Security, Inc.


Synopsis :

The remote FTP server is affected by multiple vulnerabilities.

Description :

The remote host is using ProFTPD, a free FTP server for Unix and
Linux.

According to its banner, the version of ProFTPD installed on the
remote host is earlier than 1.3.3c. Such versions are reportedly
affected by the following vulnerabilities :

- When ProFTPD is compiled with 'mod_site_misc' and a
directory is writable, a user can use 'mod_site_misc'
to create or delete a directory outside the writable
directory, create a symlink located outside the
writable directory, or change the time of a file
located outside the writable directory. (Bug #3519)

- A stack-based buffer overflow exists in the server's
'pr_netio_telnet_gets()' function, which can be
triggered by when reading user input containing a
TELNET_IAC escape sequence. (Bug #3521)

Note that Nessus did not actually test for the flaws but instead has
relied on the version in ProFTPD's banner so this may be a false
positive.

See also :

http://www.zerodayinitiative.com/advisories/ZDI-10-229/
http://bugs.proftpd.org/show_bug.cgi?id=3519
http://bugs.proftpd.org/show_bug.cgi?id=3521
http://www.proftpd.org/docs/RELEASE_NOTES-1.3.3c

Solution :

Upgrade to ProFTPD version 1.3.3c or later.

Risk factor :

Critical / CVSS Base Score : 10.0
(CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C)
CVSS Temporal Score : 8.3
(CVSS2#E:F/RL:OF/RC:C)
Public Exploit Available : true

Family: FTP

Nessus Plugin ID: 50544 ()

Bugtraq ID: 44562

CVE ID: CVE-2010-3867
CVE-2010-4221