ProFTPD Command Truncation Cross-Site Request Forgery

Medium Log Correlation Engine Plugin ID 801026

Synopsis

The remote FTP server is prone to a cross-site request forgery attack.

Description

The remote host is using ProFTPD, a free FTP server for Unix and Linux. The version of ProFTPD running on the remote host splits an overly long FTP command into a series of shorter ones and executes each in turn. If an attacker can trick a ProFTPD administrator into accessing a specially-formatted HTML link, he may be able to cause arbitrary FTP commands to be executed in the context of the affected application with the administrator's privileges.

Solution

Upgrade or patch according to vendor recommendations.

See Also

archives.neohapsis.com/archives/fulldisclosure/2008-09/0524.html

bugs.proftpd.org/show_bug.cgi?id=3115

Plugin Details

Severity: Medium

ID: 801026

File Name: 801026.prm

Family: FTP Servers

Nessus ID: 34265

Risk Information

Risk Factor: Medium

CVSSv2

Base Score: 6.8

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:F/RL:OF/RC:C

Exploitable With

Metasploit (ProFTPD 1.2 - 1.3.0 sreplace Buffer Overflow (Linux))

Reference Information

CVE: CVE-2008-4242, CVE-2006-5815

BID: 31289