The Authlogic gem for Ruby on Rails, when used with certain versions before 3.2.10, makes…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- SQL injection, Information disclosure
- Confidentiality · integrity · availability
- Partial · None · None
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-89 and CWE-200.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | authlogic (RubyGems) | before 3.3.0 | 3.3.0 | Patch available | GHSA-rx7j-mw4c-76g9 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- authlogic (RubyGems) Vendor— Affected before 3.3.0 Fixed in 3.3.0 Patch available GHSA-rx7j-mw4c-76g9
Remediation
- Fix · GHSA-rx7j-mw4c-76g9 authlogic (RubyGems) Fixed in 3.3.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2012-6497
- 2026-10-03 Alias added: GHSA-rx7j-mw4c-76g9
References
Exploit 2
Advisory 2
Other 6
- https://github.com/binarylogic/authlogic/pull/341
- https://github.com/binarylogic/authlogic/commit/1d57a6c4abe43a3c0b4ef578486ea00e1f7a9873
- https://github.com/binarylogic/authlogic
- https://web.archive.org/web/20130104161608/http://www.securityfocus.com/bid/57084
- https://web.archive.org/web/20130116043311/http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html
- http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts
More Rails vulnerabilities
- TI-2014-00124 Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the… KEVCVSS 3.1HIGH 7.5
- TI-2019-03828 Path traversal in Rails https://github.com/rails/rails KEVCVSS 3.1HIGH 7.5
- TI-2016-00672 Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x… KEVCVSS 3.1HIGH 7.5
- TI-2019-03830 Command injection in Rails https://github.com/rails/rails CVSS 3.1CRITICAL 9.8
- TI-2020-06581 Code injection in https://github.com/rails/rails CVSS 3.1HIGH 8.8
- TI-2013-00091 active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before… CVSS 2.0HIGH 7.5
Sources
- CVE-2012-6497 · CVE Program
- CVE-2012-6497 · NVD
- FIRST EPSS
- GHSA-rx7j-mw4c-76g9 · GitHub Advisory Database · CC BY 4.0
- CVE-2012-6497 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences