Ruby on Rails up to 5.1.4 find_by Name sql injection ⚔ [Disputed]

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.8$0-$5k0.00

Summaryinfo

A vulnerability, which was classified as critical, was found in Ruby on Rails up to 5.1.4. Affected is the function find_by. Such manipulation of the argument Name as part of Parameter leads to sql injection. This vulnerability is documented as CVE-2017-17916. The attack can be executed remotely. There is not any exploit available. The existence of this vulnerability is still disputed at present.

Detailsinfo

A vulnerability was found in Ruby on Rails up to 5.1.4 (Programming Language Software). It has been rated as critical. Affected by this issue is the function find_by. The manipulation of the argument name as part of a Parameter leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. CVE summarizes:

SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'name' parameter.

The bug was discovered 12/27/2017. The weakness was released 12/29/2017 (Website). The advisory is shared for download at kay-malwarebenchmark.github.io. This vulnerability is handled as CVE-2017-17916 since 12/26/2017. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1505.

The vulnerability was handled as a non-public zero-day exploit for at least 2 days. During that time the estimated underground price was around $0-$5k. The real existence of this vulnerability is still doubted at the moment. The vulnerability scanner Nessus provides a plugin with the ID 232038 (Linux Distros Unpatched Vulnerability : CVE-2017-17916), which helps to determine the existence of the flaw in a target environment.

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at Tenable (232038). Entries connected to this vulnerability are available at VDB-111177, VDB-111178 and VDB-111179. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.8
VulDB Meta Temp Score: 6.8

VulDB Base Score: 5.6
VulDB Temp Score: 5.6
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.1
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Sql injection
CWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 232038
Nessus Name: Linux Distros Unpatched Vulnerability : CVE-2017-17916

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍

Timelineinfo

12/26/2017 🔍
12/27/2017 +1 days 🔍
12/29/2017 +2 days 🔍
12/29/2017 +0 days 🔍
12/30/2017 +1 days 🔍
03/07/2025 +2624 days 🔍

Sourcesinfo

Advisory: kay-malwarebenchmark.github.io
Status: Not defined
Disputed: 🔍

CVE: CVE-2017-17916 (🔍)
GCVE (CVE): GCVE-0-2017-17916
GCVE (VulDB): GCVE-100-111176
See also: 🔍

Entryinfo

Created: 12/30/2017 11:57
Updated: 03/07/2025 11:26
Changes: 12/30/2017 11:57 (59), 12/18/2019 16:00 (1), 08/06/2024 01:26 (18), 03/07/2025 11:26 (3)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you need the next level of professionalism?

Upgrade your account now!