Ruby ftpd Gem filename Parameter Remote Command Execution

This script is Copyright (C) 2013 Tenable Network Security, Inc.


Synopsis :

The remote host is running an FTP server that is affected by a code
injection vulnerability.

Description :

Nessus was able to exploit a code injection vulnerability in the Ruby
ftpd Gem by providing a specially crafted 'filename' parameter to the
LIST command.

See also :

http://otiose.dhs.org/advisories/ftp-0.2.1-remote-exec.html
http://seclists.org/bugtraq/2013/Mar/10
http://www.nessus.org/u?b3b462e4

Solution :

Upgrade to ftpd gem 0.2.2 or later.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.2
(CVSS2#E:F/RL:OF/RC:ND)
Public Exploit Available : true

Family: FTP

Nessus Plugin ID: 65078 ()

Bugtraq ID: 58279

CVE ID: