CVE-2012-6497

CVE-2012-6497 is a medium-severity vulnerability in Rubyonrails Rails with a CVSS 2.0 base score of 5.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-89.

Key facts

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.

Frequently asked questions

What is 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 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.
How severe is CVE-2012-6497?
CVE-2012-6497 has a CVSS 2.0 base score of 5.0, rated medium severity.
Is CVE-2012-6497 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (84th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-6497?
CVE-2012-6497 affects Rubyonrails Rails. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2012-6497?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-6497 published?
CVE-2012-6497 was published on 2013-01-04 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Rubyonrails Rails

All CVEs affecting Rubyonrails Rails →

Other CWE-89 (SQL Injection) vulnerabilities

Browse all CWE-89 (SQL Injection) vulnerabilities →