5

CVE-2012-6497: rubyonrails rails SQL Injection

CVSS: 5.0v2.0MediumModified
AliasesDEBIAN-CVE-2012-6497GHSA-rx7j-mw4c-76g9
Published 04-01-2013Last modified 06-08-2024

Vulnerability summary

CVE-2012-6497 is a medium (CVSS 5.0) SQL Injection vulnerability in rubyonrails rails. EPSS estimates a 2.74% chance of exploitation in the next 30 days, higher than 85.9% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
5.0/10
010
Medium · v2.0 (NVD)
EPSS score
2.74%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2reference

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 04-01-2013
    PublishedVulnerability first disclosed.
  2. 06-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

1 score · 1 source · 1 version

EPSS trend

Probability

2.74%

Chance of exploitation in the next 30 days

Percentile

86%

Versus all other CVEs

30-day change

0.00 pp

From 2.74% on 20-09-2026

20-09-202620-10-2026
EPSS score
2.74%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • referenceUnverified

    Exploit Reference (blog.phusion.nl)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (phenoelit.org)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • rails< 2.3.14.1
RubyGems1 product
  • authlogic< 3.3.0
Rubyonrails1 product

3 vendors · 3 products

References

12 links
Show all 12 references