{"id":"CVE-2012-6497","published":"2013-01-04T02:00:00Z","modified":"2024-08-06T21:28:39Z","title":"The Authlogic gem for Ruby on Rails, when used with certain versions before 3.2.10, makes potentially unsafe…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02737,"percentile":0.86472,"provenance":"source"},"cwes":[],"references":[{"url":"http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/","tags":["x_refsource_MISC"]},{"url":"http://openwall.com/lists/oss-security/2013/01/03/12","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/57084","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":17.29}]},"affected":[{"ecosystem":"RubyGems","package":"authlogic","vulnerableRanges":["<3.3.0"],"patched":["3.3.0"],"from":["GHSA-rx7j-mw4c-76g9"],"provenance":"source"}],"summary":{"text":"The Authlogic gem for Ruby on Rails, when used with certain versions before 3.2.10, makes potentially unsafe find_by_id method calls. An attacker who can reach the application remotely can perform SQL injection via a crafted parameter, but only in environments where the secret_token value is known, as shown by a value found in secret_token.rb in an open-source product.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:14Z"},"euvd":{"id":"EUVD-2022-5249","exploited":false,"provenance":"source"}}