{ "canonical_id": "rails--CVE-2012-6497", "system_id": "rails", "display_name": "Ruby on Rails", "category": "frameworks", "advisory_mode": "core", "title": "CVE-2012-6497", "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.", "published_at": "2013-01-04T04:46:02.993", "updated_at": "2025-04-11T00:51:21.963", "severity": "medium", "cvss_score": 5.0, "exploit_status": "unknown", "source_confidence": "ecosystem-authority", "official_source_url": "http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/", "secondary_source_urls": [ "http://openwall.com/lists/oss-security/2013/01/03/12", "http://phenoelit.org/blog/archives/2012/12/21/let_me_github_that_for_you/index.html", "http://www.securityfocus.com/bid/57084" ], "aliases": [ "CVE-2012-6497" ], "cve_ids": [ "CVE-2012-6497" ], "ghsa_ids": [], "osv_ids": [], "affected_versions": [], "fixed_versions": [], "package_name": null, "render_markdown": false, "case_path": null, "secure_code_topics": [ "xss-output-encoding", "file-upload-validation", "authz-server-side-recheck", "token-cookie-storage" ], "status": "triage", "triage_reasons": [ "missing affected/fixed version details" ], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": null, "evidence_bundle": null, "historical_status": null, "latest_status": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "xss-generic", "artifact_mode": "synthetic", "blocked_reason": null, "metadata": { "source_names": [ "NVD Ruby on Rails" ], "source_kinds": [ "nvd-search" ], "candidate_count": 1 } }