wconrad/ftpd · Security
OS Command Injection in ftpd
- GHSA ID
- GHSA-7vxr-6cxg-j3x8
- CVE ID
- CVE-2013-2512
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The ftpd gem 0.2.1 for Ruby allows remote attackers to execute arbitrary OS commands via shell metacharacters in a LIST or NLST command argument within FTP protocol traffic.
CWEs
- CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-2512 ↗
- https://github.com/wconrad/ftpd/commit/828064f1a0ab69b2642c59cab8292a67bb44182c ↗
- https://web.archive.org/web/20210206231123/http://vapidlabs.com/advisory.php?v=34 ↗
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/ftpd/CVE-2013-2512.yml ↗
- https://github.com/advisories/GHSA-7vxr-6cxg-j3x8 ↗