Rapid7 Vulnerability & Exploit Database

Ruby on Rails: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CVE-2017-17919)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Ruby on Rails: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') (CVE-2017-17919)

Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
12/29/2017
Created
02/15/2020
Added
02/14/2020
Modified
11/08/2023

Description

SQL injection vulnerability in the 'order' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL commands via the 'id desc' parameter. NOTE: The vendor disputes this issue because the documentation states that this method is not intended for use with untrusted input

Solution(s)

  • ruby-on-rails-upgrade-latest

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;