CVE-2012-6497: rubyonrails rails SQL Injection
Vulnerability summary
CVE-2012-6497 is a medium (CVSS 5.0) SQL Injection vulnerability in rubyonrails rails. EPSS estimates a 2.74% chance of exploitation in the next 30 days, higher than 85.9% of scored vulnerabilities. 2 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 1Timeline
- 04-01-2013PublishedVulnerability first disclosed.
- 06-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
2.74%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
0.00 pp
From 2.74% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
2 foundExploit Reference (blog.phusion.nl)
Maturity: unknown
Exploit Reference (phenoelit.org)
Maturity: unknown
Weaknesses
CWE · root causeAffected systems
3 vendors · 3 products
References
12 links- phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.htmlX Refsource MISCBroken LinkExploit