CVE-2016-6317

HIGH

Ruby on Rails 4.2.x <4.2.7.1 - Info Disclosure

Title source: llm

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.

Exploits (1)

nomisec STUB
by kavgan · poc
https://github.com/kavgan/vuln_test_repo_public_ruby_gemfile_cve-2016-6317

Scores

CVSS v3 7.5
EPSS 0.0038
EPSS Percentile 59.5%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-284 CWE-476
Status published
Products (11)
rubygems/activerecord 4.2.0 - 4.2.7.1RubyGems
rubyonrails/rails 4.2.0 (8 CPE variants)
rubyonrails/rails 4.2.1 (5 CPE variants)
rubyonrails/rails 4.2.2
rubyonrails/rails 4.2.3 (2 CPE variants)
rubyonrails/rails 4.2.4 (2 CPE variants)
rubyonrails/rails 4.2.5 (3 CPE variants)
rubyonrails/rails 4.2.5.1
rubyonrails/rails 4.2.5.2
rubyonrails/rails 4.2.6 (2 CPE variants)
... and 1 more
Published Sep 07, 2016
Tracked Since Feb 18, 2026