CVE-2012-6497
publishedrubygem-authlogic: potential unsafe find_by_id method calls
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | squeeze | rails | Advisory build | 2.3.5-1.2+squeeze4 | DSA-2597-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
4- http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/
- [oss-security] 20130103 Re: SQL Injection Vulnerability in Ruby on Rails (CVE-2012-5664) 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
- 57084 http://www.securityfocus.com/bid/57084
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- dfe67f1dc5a47e358d1ba3361bd843cd249921eccb3700ad9b99d542f91b67e5
- Ingested
- 23 Sep 2026, 07:39:27 UTC
- Source record
- Official CVE record