CVE-2017-17405
Apache Ruby Net Command Injection Vulnerability
Description
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.
INFO
Published Date :
Dec. 15, 2017, 9:29 a.m.
Last Modified :
Nov. 21, 2024, 3:17 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2017-17405 has a 19 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
Affected Products
The following products are affected by CVE-2017-17405
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-17405
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
基于Docker-Compose的预构建漏洞环境设计源码 Docker-Compose 漏洞环境 Java Python Shell 该项目是一套基于Docker-Compose的预构建漏洞环境设计源码,涵盖了1684个文件,其中包括405个PNG图像文件、319个Markdown文档、218个YAML配置文件、68个Java源文件、67个Python脚本、62个Shell脚本、53个XML文件、34个PHP文件以及多个Dockerfile。该环境集成了Java, Python, Shell, PHP, HTML, JavaScript, CSS, Ruby等多种编程语言,旨在为安全研究提供易用的漏洞测试平台。
A curated collection of Proof of Concept (PoC) tools, scripts, and techniques designed for red team operations, penetration testing, and cybersecurity research. This repository focuses on providing practical resources for exploring vulnerabilities
attack cybersecurity exp hw penetration-testing poc red-team security-tools vulnerability-poc
Web CTF CheatSheet 🐈
JavaScript
这是一个每天同步Vulnerability-Wiki中docs-base中内容的项目
HTML
None
None
春秋云境靶场解题攻略
None
None
Python
一个Vulhub漏洞复现知识库
vulnerability exploit
一个漏洞POC知识库 目前数量 1000+
poc
安全类各家文库大乱斗
HTML CSS JavaScript Go Python Shell C
Web CTF CheatSheet 🐈
ctf cheatsheet capture-the-flag
PHP Classic ASP ASP.NET Python Ruby Batchfile PowerShell VBScript
None
Some good-boy scripts I've made throughout my time learning aggressive infosec
Python Ruby PHP HTML Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-17405
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-17405
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/102204 Added Reference http://www.securitytracker.com/id/1042004 Added Reference https://access.redhat.com/errata/RHSA-2018:0378 Added Reference https://access.redhat.com/errata/RHSA-2018:0583 Added Reference https://access.redhat.com/errata/RHSA-2018:0584 Added Reference https://access.redhat.com/errata/RHSA-2018:0585 Added Reference https://access.redhat.com/errata/RHSA-2019:2806 Added Reference https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html Added Reference https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html Added Reference https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html Added Reference https://www.debian.org/security/2018/dsa-4259 Added Reference https://www.exploit-db.com/exploits/43381/ Added Reference https://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/ Added Reference https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Sep. 19, 2019
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2019:2806 [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 14, 2019
Action Type Old Value New Value Changed Reference Type https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html No Types Assigned https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html Mailing List, Third Party Advisory Changed Reference Type https://www.debian.org/security/2018/dsa-4259 No Types Assigned https://www.debian.org/security/2018/dsa-4259 Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html No Types Assigned https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html Mailing List, Third Party Advisory Changed Reference Type http://www.securitytracker.com/id/1042004 No Types Assigned http://www.securitytracker.com/id/1042004 Third Party Advisory, VDB Entry Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0585 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0585 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0584 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0584 Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0378 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0378 Third Party Advisory Changed Reference Type https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html No Types Assigned https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html Mailing List, Third Party Advisory Changed Reference Type https://access.redhat.com/errata/RHSA-2018:0583 No Types Assigned https://access.redhat.com/errata/RHSA-2018:0583 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Oct. 31, 2018
Action Type Old Value New Value Added Reference http://www.securitytracker.com/id/1042004 [No Types Assigned] -
CVE Modified by [email protected]
Aug. 03, 2018
Action Type Old Value New Value Added Reference https://www.debian.org/security/2018/dsa-4259 [No Types Assigned] -
CVE Modified by [email protected]
Jul. 15, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html [No Types Assigned] -
CVE Modified by [email protected]
Mar. 28, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:0585 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:0584 [No Types Assigned] Added Reference https://access.redhat.com/errata/RHSA-2018:0583 [No Types Assigned] -
CVE Modified by [email protected]
Mar. 02, 2018
Action Type Old Value New Value Added Reference https://access.redhat.com/errata/RHSA-2018:0378 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 04, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html [No Types Assigned] Added Reference https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 29, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:M/Au:N/C:C/I:C/A:C) Added CVSS V3 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/ No Types Assigned https://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/ Vendor Advisory Changed Reference Type https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/ No Types Assigned https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/ Patch, Release Notes, Vendor Advisory Changed Reference Type https://www.exploit-db.com/exploits/43381/ No Types Assigned https://www.exploit-db.com/exploits/43381/ Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://www.securityfocus.com/bid/102204 No Types Assigned http://www.securityfocus.com/bid/102204 Third Party Advisory, VDB Entry Added CWE CWE-78 Added CPE Configuration OR *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.2 up to (including) 2.2.8 *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.3 up to (including) 2.3.5 *cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* versions from (including) 2.4 up to (including) 2.4.2 *cpe:2.3:a:ruby-lang:ruby:2.5.0:preview1:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 27, 2017
Action Type Old Value New Value Added Reference https://www.exploit-db.com/exploits/43381/ [No Types Assigned] -
CVE Modified by [email protected]
Dec. 20, 2017
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/102204 [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-17405
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-17405
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
87.08 }} 2.20%
score
0.99417
percentile