CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2017-17405

Ruby before 2.4.3 allows Net::FTP command injection. Net::FTP#get, getbinaryfile, gettextfile, put, putbinaryfile, and puttextfile use Kernel#open to open a local file. If the localfile argument starts with the "|" pipe character, the command following the pipe character is executed. The default value of localfile is File.basename(remotefile), so malicious FTP servers could cause arbitrary command execution.
Publish Date : 2017-12-15 Last Update Date : 2019-09-19
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
9.3
Confidentiality Impact Complete (There is total information disclosure, resulting in all system files being revealed.)
Integrity Impact Complete (There is a total compromise of system integrity. There is a complete loss of system protection, resulting in the entire system being compromised.)
Availability Impact Complete (There is a total shutdown of the affected resource. The attacker can render the resource completely unavailable.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute Code
CWE ID 78

- Related OVAL Definitions

Title Definition Id Class Family
RHSA-2018:0378: ruby security update (Important) oval:com.redhat.rhsa:def:20180378 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2017-17405

# Product Type Vendor Product Version Update Edition Language
1 OS Debian Debian Linux 7.0 Version Details Vulnerabilities
2 OS Debian Debian Linux 8.0 Version Details Vulnerabilities
3 OS Debian Debian Linux 9.0 Version Details Vulnerabilities
4 OS Redhat Enterprise Linux Desktop 7.0 Version Details Vulnerabilities
5 OS Redhat Enterprise Linux Server 7.0 Version Details Vulnerabilities
6 OS Redhat Enterprise Linux Server Aus 7.4 Version Details Vulnerabilities
7 OS Redhat Enterprise Linux Server Aus 7.6 Version Details Vulnerabilities
8 OS Redhat Enterprise Linux Server Eus 7.4 Version Details Vulnerabilities
9 OS Redhat Enterprise Linux Server Eus 7.5 Version Details Vulnerabilities
10 OS Redhat Enterprise Linux Server Eus 7.6 Version Details Vulnerabilities
11 OS Redhat Enterprise Linux Server Tus 7.4 Version Details Vulnerabilities
12 OS Redhat Enterprise Linux Server Tus 7.6 Version Details Vulnerabilities
13 OS Redhat Enterprise Linux Workstation 7.0 Version Details Vulnerabilities
14 Application Ruby-lang Ruby 2.2.0 Preview2 Version Details Vulnerabilities
15 Application Ruby-lang Ruby 2.2.0 RC1 Version Details Vulnerabilities
16 Application Ruby-lang Ruby 2.2.0 Version Details Vulnerabilities
17 Application Ruby-lang Ruby 2.2.0 Preview1 Version Details Vulnerabilities
18 Application Ruby-lang Ruby 2.2.1 Version Details Vulnerabilities
19 Application Ruby-lang Ruby 2.2.2 Version Details Vulnerabilities
20 Application Ruby-lang Ruby 2.2.3 Version Details Vulnerabilities
21 Application Ruby-lang Ruby 2.2.4 Version Details Vulnerabilities
22 Application Ruby-lang Ruby 2.2.5 Version Details Vulnerabilities
23 Application Ruby-lang Ruby 2.2.6 Version Details Vulnerabilities
24 Application Ruby-lang Ruby 2.2.7 Version Details Vulnerabilities
25 Application Ruby-lang Ruby 2.2.8 Version Details Vulnerabilities
26 Application Ruby-lang Ruby 2.3.0 Preview1 Version Details Vulnerabilities
27 Application Ruby-lang Ruby 2.3.0 Version Details Vulnerabilities
28 Application Ruby-lang Ruby 2.3.0 Preview2 Version Details Vulnerabilities
29 Application Ruby-lang Ruby 2.3.1 Version Details Vulnerabilities
30 Application Ruby-lang Ruby 2.3.2 Version Details Vulnerabilities
31 Application Ruby-lang Ruby 2.3.3 Version Details Vulnerabilities
32 Application Ruby-lang Ruby 2.3.4 Version Details Vulnerabilities
33 Application Ruby-lang Ruby 2.3.5 Version Details Vulnerabilities
34 Application Ruby-lang Ruby 2.4.0 Version Details Vulnerabilities
35 Application Ruby-lang Ruby 2.4.0 Preview1 Version Details Vulnerabilities
36 Application Ruby-lang Ruby 2.4.0 Preview2 Version Details Vulnerabilities
37 Application Ruby-lang Ruby 2.4.0 Preview3 Version Details Vulnerabilities
38 Application Ruby-lang Ruby 2.4.0 RC1 Version Details Vulnerabilities
39 Application Ruby-lang Ruby 2.4.1 Version Details Vulnerabilities
40 Application Ruby-lang Ruby 2.4.2 Version Details Vulnerabilities
41 Application Ruby-lang Ruby 2.5.0 Preview1 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Debian Debian Linux 3
Redhat Enterprise Linux Desktop 1
Redhat Enterprise Linux Server 1
Redhat Enterprise Linux Server Aus 2
Redhat Enterprise Linux Server Eus 3
Redhat Enterprise Linux Server Tus 2
Redhat Enterprise Linux Workstation 1
Ruby-lang Ruby 28

- References For CVE-2017-17405

https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/ CONFIRM
https://access.redhat.com/errata/RHSA-2018:0584
REDHAT RHSA-2018:0584
https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
MLIST [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update
https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html
MLIST [debian-lts-announce] 20171225 [SECURITY] [DLA 1221-1] ruby1.9.1 security update
https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html
MLIST [debian-lts-announce] 20171225 [SECURITY] [DLA 1222-1] ruby1.8 security update
https://access.redhat.com/errata/RHSA-2019:2806
REDHAT RHSA-2019:2806
https://www.exploit-db.com/exploits/43381/
EXPLOIT-DB 43381
https://access.redhat.com/errata/RHSA-2018:0585
REDHAT RHSA-2018:0585
https://access.redhat.com/errata/RHSA-2018:0583
REDHAT RHSA-2018:0583
https://www.debian.org/security/2018/dsa-4259
DEBIAN DSA-4259
https://access.redhat.com/errata/RHSA-2018:0378
REDHAT RHSA-2018:0378
http://www.securitytracker.com/id/1042004
SECTRACK 1042004
https://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/ CONFIRM
http://www.securityfocus.com/bid/102204
BID 102204 Ruby CVE-2017-17405 Multiple Command Execution Vulnerabilities Release Date:2017-12-19

- Metasploit Modules Related To CVE-2017-17405

There are not any metasploit modules related to this CVE entry (Please visit www.metasploit.com for more information)


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.