GitHub Advisoryadvisory · RubyGems
GHSA-rx7j-mw4c-76g9 Authlogic Information Exposure vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2012-6497
- Ecosystem
- RubyGems
- Packages
- authlogic
- Severity
- Moderate
- Weaknesses
- CWE-200
- Reviewed
- 2023-01-26
Affected packages
• RubyGems authlogic: < 3.3.0 → fixed in 3.3.0
Description
The Authlogic gem for Ruby on Rails prior to version 3.3.0 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
Alias · CVE (1)
- CVE-2012-6497 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… vulnerability
Weakness · CWE (1)
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2012-6497 advisory
- https://github.com/binarylogic/authlogic/pull/341 web
- https://github.com/binarylogic/authlogic/commit/1d57a6c4abe43a3c0b4ef578486ea00e1f7a9873 web
- https://github.com/binarylogic/authlogic package
- https://web.archive.org/web/20130104161608/http://www.securityfocus.com/bid/57084 web
- https://web.archive.org/web/20130116043311/http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html web
- http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts web
- http://openwall.com/lists/oss-security/2013/01/03/12 web