SQL Injection in Rubyonrails Rails
CVE-2012-6496
SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.045 (91.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 91st percentile — 91.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.045 · newest: 0.045 · change: 0.000
Affected products
- Rubyonrails Rails — versions 3.1.0, 3.1.1, 3.1.2
- Rubyonrails Ruby On Rails — versions 3.0.4
Weakness classification (CWE)
Public proof-of-concept exploits
References
- bugzilla.redhat.com/show_bug.cgi (Exploit, Patch)
- rhn.redhat.com/errata/RHSA-2013-0155.html (vendor-advisory)
- blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-h…
- rhn.redhat.com/errata/RHSA-2013-0220.html (vendor-advisory)
- security.gentoo.org/glsa/glsa-201401-22.xml (vendor-advisory)
- rhn.redhat.com/errata/RHSA-2013-0154.html (vendor-advisory)
- groups.google.com/group/rubyonrails-security/msg/23daa048baf28b64 (mailing-list)
- www.securityfocus.com/bid/57084 (vdb-entry)
- rhn.redhat.com/errata/RHSA-2013-0544.html (vendor-advisory)
Frequently asked questions
- What is CVE-2012-6496?
- CVE-2012-6496 is a vulnerability in Rubyonrails Rails, classified under SQL Injection. Published 2013-01-04.
- Is CVE-2012-6496 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.