SQL Injection in Rubyonrails Rails
CVE-2012-6497
The Authlogic gem for Ruby on Rails, when used with certain versions before 3.2.10, makes potentially unsafe find_by_id method calls, which might allow remote attackers to conduct CVE-2012-6496 SQL injection attacks via a crafted parameter in environments that have a known secret_token value, as demonstrated by a value contained in secret_token.rb in an open-source product.
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.027 (85.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 86th percentile — 85.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.027 · newest: 0.027 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-h… (Exploit)
- openwall.com/lists/oss-security/2013/01/03/12 (mailing-list, Mailing List, Third Party Advisory)
- phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html (Exploit, Broken Link)
- www.securityfocus.com/bid/57084 (VDB Entry, Third Party Advisory, vdb-entry, Broken Link)
Frequently asked questions
- What is CVE-2012-6497?
- CVE-2012-6497 is a vulnerability in Rubyonrails Rails, classified under SQL Injection. Published 2013-01-04.
- Is CVE-2012-6497 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.