NVD Vulnerability Detail
Search Exploit, PoC
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.

Publication Date Jan. 4, 2013, 1:46 p.m.
Registration Date Jan. 28, 2021, 3:08 p.m.
Last Update Nov. 21, 2024, 10:46 a.m.
CVSS2.0 : MEDIUM
Score 5.0
Vector AV:N/AC:L/Au:N/C:P/I:N/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃前の認証要否(Au) 不要
機密性への影響(C)
完全性への影響(I) なし
可用性への影響(A) なし
Get all privileges. いいえ
Get user privileges いいえ
Get other privileges いいえ
User operation required いいえ
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* 3.2.10
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
Ruby on Rails 用 Authlogic gem における SQL インジェクションの脆弱性
Title Ruby on Rails 用 Authlogic gem における SQL インジェクションの脆弱性
Summary

特定のバージョンの Ruby on Rails で利用される Authlogic gem は、潜在的に安全でない find_by_id メソッドコールを用いるため、CVE-2012-6496 に記される SQL インジェクション攻撃を実行される脆弱性が存在します。

Possible impacts 第三者により、secret_token 値が知られている状況下での巧妙に細工されたパラメータを介して、CVE-2012-6496 に記される SQL インジェクション攻撃を実行される可能性があります。
Solution

ベンダ情報および参考情報を参照して適切な対策を実施してください。

Publication Date Jan. 4, 2013, midnight
Registration Date Jan. 7, 2013, 6:04 p.m.
Last Update Jan. 7, 2013, 6:04 p.m.
Affected System
Ruby on Rails project
Rails 3.2.10 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2013年01月07日]
  掲載
Feb. 17, 2018, 10:37 a.m.