
Cloud Vulnerability DB
A community-led vulnerabilities database
The ftpd gem 0.2.1 for Ruby contains a critical security vulnerability (CVE-2013-2512) that allows remote attackers to execute arbitrary OS commands. The vulnerability exists in the handling of LIST or NLST command arguments within FTP protocol traffic, where shell metacharacters can be exploited to execute unauthorized commands (NVD, CVE).
The vulnerability has received a CVSS v3.1 Base Score of 9.8 (CRITICAL) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, and a CVSS v2.0 Base Score of 10.0 with vector (AV:N/AC:L/Au:N/C:C/I:C/A:C). The vulnerability is classified as CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'). The issue specifically affects the processing of LIST and NLST commands in the FTP protocol implementation (NVD).
If successfully exploited, this vulnerability allows remote attackers to execute arbitrary operating system commands on the affected system through the FTP server. This could lead to complete system compromise, including unauthorized access to sensitive data, system modification, and potential service disruption (NVD).
The vulnerability is remotely exploitable without requiring authentication. An attacker can exploit this vulnerability by sending specially crafted LIST or NLST commands containing shell metacharacters through FTP protocol traffic (NVD, Vapid Labs).
The affected software is ftpd gem version 0.2.1 for Ruby. Users should upgrade to a patched version if available or implement strict input validation for FTP commands to prevent command injection attacks (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."