Vulnerability in Rubyonrails Rails
CVE-2012-2694
actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly consider differences in parameter handling between the Active Record component and the Rack interface, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request, as demonstrated by certain "['xyz', nil]" values, a related issue to CVE-2012-2660.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.039, 90.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 3.0.0, 3.0.1, 3.0.2
- Rubyonrails Ruby On Rails — versions 3.0.4
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (kavgan/vuln_test_repo_public_ruby_gemfile_cve-2016-6317, pankajkryadav/Hacktivity). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- SUSE-SU-2012:1015 (vendor-advisory)
- SUSE-SU-2012:1012 (vendor-advisory)
- openSUSE-SU-2012:0978 (vendor-advisory)
- SUSE-SU-2012:1014 (vendor-advisory)
- openSUSE-SU-2012:1066 (vendor-advisory)
- [rubyonrails-security] 20120612 Ruby on Rails Unsafe Query Generation Risk in Ruby on Rails (CVE-2012-2694) (mailing-list, Exploit)
- RHSA-2013:0154 (vendor-advisory)