CVE-2016-6317
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.0•HIGH•Score: 7.5CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:P/A:N
EPSS Trends
Current EPSS score: 0.38%• Percentile: 60%
Techniques & Countermeasures
- CWE-284•Improper Access Control
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
- CWE-476•NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
Affected Systems
- rubyonrails•rails
4.2.0 | 4.2.0:beta1 | 4.2.0:beta2 | 4.2.0:beta3 | 4.2.0:beta4 | 4.2.0:rc1 | 4.2.0:rc2 | 4.2.0:rc3 | 4.2.1 | 4.2.1:rc1 | 4.2.1:rc2 | 4.2.1:rc3 | 4.2.1:rc4 | 4.2.2 | 4.2.3 | 4.2.3:rc1 | 4.2.4 | 4.2.4:rc1 | 4.2.5 | 4.2.5:rc1 | 4.2.5:rc2 | 4.2.5.1 | 4.2.5.2 | 4.2.6 | 4.2.6:rc1 | 4.2.7 | 4.2.7:rc1
References (5)
- http://www.securityfocus.com/bid/92434
- http://www.openwall.com/lists/oss-security/2016/08/11/4
- http://rhn.redhat.com/errata/RHSA-2016-1855.html
- http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/
- https://groups.google.com/forum/#%21topic/ruby-security-ann/WccgKSKiPZA