重大な脆弱性 > 年ごと > 2019 年 > CVE-2019-5418
Rails Ruby on Rails のパストラバーサルの脆弱性
CVE-2019-5418悪用確認
概要
| CVE | CVE-2019-5418 |
|---|---|
| 対象 | Rails Ruby on Rails |
| 弱点の種類 | パストラバーサル(CWE-22) |
| 悪用の確認 | 2025-07-07 に米 CISA の KEV(悪用が確認された脆弱性の一覧)へ掲載 米国の連邦機関に求められた対応期限: 2025-07-28 |
公式の説明
- 米 CISA の説明
- Rails Ruby on Rails の Action View には、パストラバーサルの脆弱性がある。細工した accept ヘッダーと `render file:` の呼び出しを組み合わせると、対象サーバー上の任意のファイルがレンダリングされ、ファイルの内容が漏えいするおそれがある。
- 求められる対応
- ベンダーの指示に従って緩和策を適用するか、クラウドサービスについては該当する BOD 22-01 のガイダンスに従うか、緩和策が利用できない場合は製品の使用を中止する。
原文(英語)
- Name
- Rails Ruby on Rails Path Traversal Vulnerability
- Description
- Rails Ruby on Rails contains a path traversal vulnerability in Action View. Specially crafted accept headers in combination with calls to `render file:` can cause arbitrary files on the target server to be rendered, disclosing the file contents.
- Required action
- Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
日本語は原文を機械翻訳し、自動で校正したものです。食い違うときは原文を正としてください。
国内で被害を公表した事案
このサイトに登録した事案のうち、この脆弱性が侵入経路と公表されたものはまだありません。
出典・参考
- NVD(米国の脆弱性データベース)
- JVN iPedia(日本語の脆弱性データベース)
- https://web.archive.org/web/20190313201629/https://weblog.rubyonrails.org/2019/3/13/Rails-4-2-5-1-5-1-6-2-have-been-released/
Rails Ruby on Rails のほかの悪用が確認された脆弱性(2 件)
- CVE-2016-0752 Ruby on Rails のディレクトリトラバーサルの脆弱性
- CVE-2014-0130 Ruby on Rails のディレクトリトラバーサルの脆弱性