Rapid7 Vulnerability & Exploit Database

Ruby on Rails: CVE-2016-6317: Unsafe Query Generation Risk in Active Record

Back to Search

Ruby on Rails: CVE-2016-6317: Unsafe Query Generation Risk in Active Record

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:N/I:P/A:N)
Published
09/07/2016
Created
07/25/2018
Added
05/02/2017
Modified
10/30/2017

Description

Action Record in Ruby on Rails 4.2.x before 4.2.7.1 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660, CVE-2012-2694, and CVE-2013-0155.

Solution(s)

  • ruby_on_rails-cve-2016-6317-1

References

  • ruby_on_rails-cve-2016-6317-1

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

;