{"cve":"CVE-2012-6497","nvd":{"published":"2013-01-04T04:46:02.993","modified":"2026-06-16T23:48:14.360","status":"Modified","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_v4":null,"cvss_v3":null,"cwes":["CWE-89"],"references":["http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/","http://openwall.com/lists/oss-security/2013/01/03/12","http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html","http://www.securityfocus.com/bid/57084","http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/"],"products":["rubyonrails:rails"],"source":"nvd","synced_at":"2026-10-19T20:27:27.940201468+00:00"},"epss":{"cve":"CVE-2012-6497","score":0.02737,"percentile":0.86123,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rx7j-mw4c-76g9","url":"https://osv.dev/vulnerability/GHSA-rx7j-mw4c-76g9","summary":"Authlogic Information Exposure vulnerability","modified":"2024-12-05T06:06:38.300231Z","packages":[{"ecosystem":"RubyGems","name":"authlogic","purl":"pkg:gem/authlogic","ranges":["<3.3.0"],"fixed":["3.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}