Ruby ftpd Gem 'filename' Parameter Remote Command Execution

High Nessus Plugin ID 65078

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.

Solution

Upgrade to ftpd gem 0.2.2 or later.

See Also

http://www.vapid.dhs.org/advisory.php?v=34

https://seclists.org/bugtraq/2013/Mar/10

http://www.nessus.org/u?b3b462e4

Plugin Details

Severity: High

ID: 65078

File Name: ftp_ruby_command_injection.nasl

Version: 1.9

Type: remote

Family: FTP

Published: 2013/03/07

Modified: 2018/11/15

Dependencies: 10092

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 6.2

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

Temporal Vector: CVSS2#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: 2013/03/02

Vulnerability Publication Date: 2013/02/28

Reference Information

BID: 58279