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.
References (4)
Core 4
Core References
Exploit x_refsource_misc
http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/
Mailing List, Third Party Advisory mailing-list
x_refsource_mlist
http://openwall.com/lists/oss-security/2013/01/03/12
Broken Link, Exploit x_refsource_misc
http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html
Broken Link, Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/57084
Scores
EPSS
0.0040
EPSS Percentile
60.7%
Details
CWE
CWE-89
Status
published
Products (2)
rubygems/authlogic
0 - 3.3.0RubyGems
rubyonrails/rails
< 3.2.10
Published
Jan 04, 2013
Tracked Since
Feb 18, 2026