Severity
4.3MEDIUMNVD
CNA6.4GHSA6.4OSV6.4
EPSS
0.2%
top 55.27%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 22
Latest updateAug 13

Description

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.

CVSS vector

AV:N/AC:M/C:P/I:N/A:NExploitability: 8.6 | Impact: 2.9

Affected Packages3 packages

NVDrubyonrails/rails26 versions+25
RubyGemsactionpack_project/actionpack3.0.133.0.14+2

🔴Vulnerability Details

7
GHSA
Moderate severity vulnerability that affects activerecord2018-08-13
OSV
actionpack allows remote attackers to bypass database-query restrictions, perform NULL checks via crafted request2017-10-24
GHSA
actionpack allows remote attackers to bypass database-query restrictions, perform NULL checks via crafted request2017-10-24
GHSA
Active Record allows bypassing of database-query restrictions2017-10-24
GHSA
ActiveRecord in Ruby on Rails allows database-query bypass2017-10-24

📋Vendor Advisories

4
Red Hat
rubygem-activerecord: unsafe query generation in Active Record2016-08-11
Red Hat
rubygem-activerecord: Unsafe Query Generation Risk in Ruby on Rails2013-01-08
Red Hat
rubygem-actionpack: Unsafe query generation (a different flaw than CVE-2012-2660)2012-06-12
Red Hat
rubygem-actionpack: Unsafe query generation2012-05-31

💬Community

3
HackerOne
Unsafe Query Generation (CVE-2012-2660, CVE-2012-2694 and CVE-2013-0155) mitigation bypass2018-02-07
Bugzilla
CVE-2012-2694 rubygem-actionpack: Unsafe query generation (a different flaw than CVE-2012-2660) [fedora-all]2012-06-13
Bugzilla
CVE-2012-2694 rubygem-actionpack: Unsafe query generation (a different flaw than CVE-2012-2660)2012-06-13
CVE-2012-2694 — Project Actionpack vulnerability | cvebase