{"id":"CVE-2012-6497","aliases":["GHSA-rx7j-mw4c-76g9"],"url":"https://o3.security/vulnerability/CVE-2012-6497","summary":"Authlogic Information Exposure vulnerability","details":"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.","published":"2013-01-04T04:46:02Z","modified":"2026-04-10T03:42:35.555074Z","cvss":null,"epss":null,"cisaKev":null,"exploitsKnown":2,"affectedPackages":[{"ecosystem":"RubyGems","name":"authlogic","fixedVersion":"3.3.0"}],"fix":{"url":"https://github.com/binarylogic/authlogic/pull/341","label":"binarylogic/authlogic#341"},"references":[{"type":"ADVISORY","url":"http://openwall.com/lists/oss-security/2013/01/03/12"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/57084"},{"type":"ARTICLE","url":"http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html"},{"type":"EVIDENCE","url":"http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6497"},{"type":"WEB","url":"https://github.com/binarylogic/authlogic/pull/341"},{"type":"WEB","url":"https://github.com/binarylogic/authlogic/commit/1d57a6c4abe43a3c0b4ef578486ea00e1f7a9873"},{"type":"PACKAGE","url":"https://github.com/binarylogic/authlogic"},{"type":"WEB","url":"https://web.archive.org/web/20130104161608/http://www.securityfocus.com/bid/57084"},{"type":"WEB","url":"https://web.archive.org/web/20130116043311/http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html"},{"type":"WEB","url":"http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-10T03:42:35.555074Z"}}