SQL Injection in Rubyonrails Rails
CVE-2012-2661
The Active Record component in Ruby on Rails 3.0.x before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 does not properly implement the passing of request data to a where method in an ActiveRecord class, which allows remote attackers to conduct certain SQL injection attacks via nested query parameters that leverage unintended recursion, a related issue to CVE-2012-2695.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/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.040 (90.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 90.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.042 · newest: 0.040 · change: -0.002
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 proof-of-concept exploits
References
- groups.google.com/group/rubyonrails-security/msg/fc2da6c627fc92df (mailing-list, Exploit)
- lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html (vendor-advisory)
- lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html (vendor-advisory)
- lists.opensuse.org/opensuse-updates/2012-08/msg00046.html (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2013-0154.html (vendor-advisory)
Frequently asked questions
- What is CVE-2012-2661?
- CVE-2012-2661 is a vulnerability in Rubyonrails Rails, classified under SQL Injection. Published 2012-06-22.
- Is CVE-2012-2661 known to be exploited?
- 8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.