Vulnerability in Rubyonrails Rails
CVE-2012-2660
actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 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 "[nil]" values, a related issue to CVE-2012-2694.
Published · last modified .
CVSS v2 metric
CVSS v2 base score 6.4 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.045, 91.7th 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] 20120531 Unsafe Query Generation Risk in Ruby on Rails (CVE-2012-2660) (mailing-list, Exploit)
- RHSA-2013:0154 (vendor-advisory)