Moderate severityNVD Advisory· Published Jan 4, 2013· Updated Jun 16, 2026
CVE-2012-6497
CVE-2012-6497
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
authlogicRubyGems | < 3.3.0 | 3.3.0 |
Affected products
2Patches
Vulnerability mechanics
References
11- blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/nvdExploit
- phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.htmlnvdBroken LinkExploit
- openwall.com/lists/oss-security/2013/01/03/12nvdMailing ListThird Party AdvisoryWEB
- www.securityfocus.com/bid/57084nvdBroken LinkThird Party AdvisoryVDB Entry
- github.com/advisories/GHSA-rx7j-mw4c-76g9ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2012-6497ghsaADVISORY
- blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-factsghsaWEB
- github.com/binarylogic/authlogic/commit/1d57a6c4abe43a3c0b4ef578486ea00e1f7a9873ghsaWEB
- github.com/binarylogic/authlogic/pull/341ghsaWEB
- web.archive.org/web/20130104161608/http://www.securityfocus.com/bid/57084ghsaWEB
- web.archive.org/web/20130116043311/http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.htmlghsaWEB
News mentions
0No linked articles in our index yet.