製品・ソフトウェアに関する情報
Ruby on Rails におけるデータベースのクエリ制限を回避される脆弱性
Title Ruby on Rails におけるデータベースのクエリ制限を回避される脆弱性
Summary

Ruby on Rails は、Active Record コンポーネントと JSON の実装におけるパラメータ処理の違いを適切に配慮しないため、データベースのクエリ制限を回避され、NULL チェックを実行される、または WHERE 句の削除を誘発される脆弱性が存在します。 本問題は、CVE-2012-2660 および CVE-2012-2694 と関連する問題です。

Possible impacts 第三者により、巧妙に細工されたリクエストを介して、データベースのクエリ制限を回避され、NULL チェックを実行される、または WHERE 句の削除を誘発される可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Jan. 8, 2013, midnight
Registration Date Jan. 15, 2013, 2:43 p.m.
Last Update June 7, 2013, 11:58 a.m.
CVSS2.0 : 警告
Score 6.4
Vector AV:N/AC:L/Au:N/C:P/I:P/A:N
Affected System
アップル
Apple Mac OS X 10.6.8
Apple Mac OS X Server 10.6.8
Ruby on Rails project
Rails 3.0.19 未満の 3.0.x
Rails 3.1.10 未満の 3.1.x
Rails 3.2.11 未満の 3.2.x
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
0 [2013年01月15日]
  掲載
[2013年02月05日]
  CVSS による深刻度:基本値と機密性への影響、完全性への影響、可用性への影響を変更
[2013年02月20日]
  ベンダ情報:Debian (DSA-2609) を追加
  ベンダ情報:レッドハット (RHSA-2013:0154) を追加
  ベンダ情報:レッドハット (RHSA-2013:0155) を追加
[2013年05月22日]
  CWE による脆弱性タイプ一覧:CWE-ID を変更
[2013年06月07日]
  影響を受けるシステム:アップル (HT5784) の情報を追加
  ベンダ情報:アップル (HT5784) を追加
  ベンダ情報:アップル (APPLE-SA-2013-06-04-1) を追加
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2013-0155
Summary

Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660 and CVE-2012-2694.

Publication Date Jan. 14, 2013, 7:55 a.m.
Registration Date Jan. 26, 2021, 3:32 p.m.
Last Update Nov. 21, 2024, 10:46 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* 3.0.0 3.0.19
cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* 3.1.0 3.1.10
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* 3.2.0 3.2.11
Configuration2 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List