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
EPSS: 0.045 (90.4th percentile) — read the EPSS interpretation.
Affected products
- Rubyonrails Rails — versions 3.1.0, 3.1.1, 3.1.2
- Rubyonrails Ruby_on_rails — versions 3.0.4
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (x_refsource_CONFIRM, Exploit, Patch)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory)
- cve@mitre.org (x_refsource_MISC)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory)
- cve@mitre.org (vendor-advisory, x_refsource_GENTOO)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory)
- cve@mitre.org (mailing-list, x_refsource_MLIST)
- cve@mitre.org (vdb-entry, x_refsource_BID)
- cve@mitre.org (x_refsource_REDHAT, 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.