製品・ソフトウェアに関する情報
Grape などの製品で使用される Ruby 用 multi_xml gem におけるオブジェクトインジェクション攻撃を誘発される脆弱性
Title Grape などの製品で使用される Ruby 用 multi_xml gem におけるオブジェクトインジェクション攻撃を誘発される脆弱性
Summary

Grape およびその他の製品で使用される Ruby 用 multi_xml gem は、文字列の値のキャストを適切に制限しないため、オブジェクトインジェクション攻撃を誘発される、および任意のコードを実行される、またはサービス運用妨害 (メモリおよび CPU 資源の消費) 状態にされる脆弱性が存在します。 本脆弱性は、CVE-2013-0156 と類似する脆弱性です。

Possible impacts 第三者により、(1) YAML 型変換、または (2) Symbol 型変換のサポートを利用されることで、オブジェクトインジェクション攻撃を誘発され、任意のコードを実行される、または、ネストされた XML エンティティ参照 (XML entity references) によって、サービス運用妨害 (メモリおよび CPU 資源の消費) 状態にされる可能性があります。
Solution

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

Publication Date Jan. 10, 2013, midnight
Registration Date April 30, 2013, 5:43 p.m.
Last Update April 30, 2013, 5:43 p.m.
CVSS2.0 : 危険
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected System
Grape
Grape 0.2.6 未満
Erik Michaels-Ober
multi_xml 0.5.2
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2013年04月30日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2013-0175
Summary

multi_xml gem 0.5.2 for Ruby, as used in Grape before 0.2.6 and possibly other products, does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging support for (1) YAML type conversion or (2) Symbol type conversion, a similar vulnerability to CVE-2013-0156.

Publication Date April 26, 2013, 8: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:erik_michaels-ober:multi_xml:0.5.2:*:*:*:*:*:*:*
execution environment
1 cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
Configuration2 or higher or less more than less than
cpe:2.3:a:grape_project:grape:0.2.4:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.2.0:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.1.5:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.1.4:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.2.2:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.2.3:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.2.5:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.1.2:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.1.3:*:*:*:*:*:*:*
cpe:2.3:a:erik_michaels-ober:multi_xml:0.5.2:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.2.1:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.1.1:*:*:*:*:*:*:*
cpe:2.3:a:grape_project:grape:0.1.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List