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.
Metrics
CVSS 2.0 5.0/10
AV:N/AC:L/Au:N/C:P/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/Exploit
- http://openwall.com/lists/oss-security/2013/01/03/12Mailing List, Third Party Advisory
- http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.htmlBroken Link, Exploit
- http://www.securityfocus.com/bid/57084Broken Link, Third Party Advisory, VDB Entry
- http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/Exploit
- http://openwall.com/lists/oss-security/2013/01/03/12Mailing List, Third Party Advisory
- http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.htmlBroken Link, Exploit
- http://www.securityfocus.com/bid/57084Broken Link, Third Party Advisory, VDB Entry
Timeline
- Published
- Jan 4, 2013
- Last modified
- Jun 16, 2026
- NVD status
- Modified