Security restrictions bypass in Ruby on Rails - CVE-2016-6317
Published: September 14, 2016 / Updated: September 22, 2017
Vulnerability details
The vulnerability allows a remote attacker to bypass certain security restrictions.
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.
Affected software
Fedora
rubygem-activerecord
rubygem-actionpack
rubygem-actioncable
rubygem-actionmailer
rubygem-activejob
rubygem-activemodel
rubygem-activesupport
rubygem-rails
rubygem-actionview
rubygem-railties
How to mitigate CVE-2016-6317
rubygem-actionpack - addressed in versions 4.2.3-6.fc23, 4.2.5.2-3.fc24, 5.0.0.1-2.fc25
rubygem-actioncable - update to 5.0.0.1-1.fc25
rubygem-actionmailer - update to 5.0.0.1-1.fc25
rubygem-activejob - update to 5.0.0.1-1.fc25
rubygem-activemodel - update to 5.0.0.1-1.fc25
rubygem-activesupport - update to 5.0.0.1-1.fc25
rubygem-rails - update to 5.0.0.1-1.fc25
rubygem-actionview - update to 5.0.0.1-2.fc25
rubygem-railties - update to 5.0.0.1-2.fc25
External References
Related Security Bulletins
- Secuirty restrictions bypass in Ruby on Rails
- Fedora 25 update for rubygem-actioncable, rubygem-actionmailer, rubygem-actionpack, rubygem-actionview, rubygem-activejob, rubygem-activemodel, rubygem-activerecord, rubygem-activesupport, rubygem-rails, rubygem-railties
- Fedora 24 update for rubygem-actionpack, rubygem-activerecord
- Fedora 23 update for rubygem-actionpack, rubygem-activerecord