Ruby ftpd Gem 'filename' Parameter Remote Command Execution

high Nessus Plugin ID 65078
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.


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


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.


Upgrade to ftpd gem 0.2.2 or later.

See Also

Plugin Details

Severity: High

ID: 65078

File Name: ftp_ruby_command_injection.nasl

Version: 1.9

Type: remote

Family: FTP

Published: 3/7/2013

Updated: 11/15/2018

Dependencies: ftpserver_detect_type_nd_version.nasl

Risk Information


Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: E:F/RL:OF/RC:ND

Vulnerability Information

CPE: x-cpe:/a:wconrad:ftpd

Required KB Items: ftp/login

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Patch Publication Date: 3/2/2013

Vulnerability Publication Date: 2/28/2013

Reference Information

BID: 58279