GitHub Advisoryadvisory · RubyGems
GHSA-wpw7-wxjm-cw8r actionpack allows bypass of database-query restrictions
MEDIUM
Official page ↗
- Aliases
- CVE-2013-6417
- Ecosystem
- RubyGems
- Packages
- actionpack
- Severity
- Moderate
- Weaknesses
- CWE-284
- Reviewed
- 2020-06-16
Affected packages
• RubyGems actionpack: >= 3.0.0, < 3.2.16 → fixed in 3.2.16
• RubyGems actionpack: >= 4.0.0, < 4.0.2 → fixed in 4.0.2
Description
`actionpack/lib/action_dispatch/http/request.rb` in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 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 that leverages (1) third-party Rack middleware or (2) custom Rack middleware. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-0155.
Related
Alias · CVE (1)
- CVE-2013-6417 actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 does not properly consider differences… vulnerability
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-6417 advisory
- https://github.com/rails/rails package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2013-6417.yml web
- https://groups.google.com/forum/#!topic/ruby-security-ann/niK4drpSHT4 web
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/niK4drpSHT4/g8JW8ZsayRkJ web
- https://puppet.com/security/cve/cve-2013-6417 web
- https://web.archive.org/web/20160806051251/https://puppet.com/security/cve/cve-2013-6417 web
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html web
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html web
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html web
- http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html web
- http://rhn.redhat.com/errata/RHSA-2013-1794.html web
- http://rhn.redhat.com/errata/RHSA-2014-0008.html web
- http://rhn.redhat.com/errata/RHSA-2014-0469.html web
- http://weblog.rubyonrails.org/2013/12/3/Rails_3_2_16_and_4_0_2_have_been_released web
- http://www.debian.org/security/2014/dsa-2888 web