Cwe 22

🧬 CWE Related 96
slug: cwe-22

Explanation

CWE-22は「ファイル名のパスをユーザー入力から組み立てるとき、`../` のような相対パス記号をきちんと無害化せず、本来アクセスできないファイルを読み書きされてしまう欠陥」のことです。 ファイルダウンロード機能・画像表示機能・テンプレート機能でよく見られます。 対策は「絶対パスへの正規化 + 許可されたディレクトリ内かのチェック」、または「ファイル名にIDのみを使い、パス記号を一切使わない設計」。
📌 Example
CVE-2024-57726 (SimpleHelp): zipファイル展開時のZip Slip攻撃で、サーバー上の任意の場所にファイル書き込みされる脆弱性。CISA KEV入り。

🔖 Related tags

🛡 Vulnerabilities tagged with this 1,035

ID Title
CVE-2017-14120 Path Traversal in path-traversal (CVE-2017-14120)
CVE-2014-8676 Path Traversal in path-traversal (CVE-2014-8676)
CVE-2017-0901 Path Traversal in rubygems (CVE-2017-0901)
CVE-2017-13780 Path Traversal in path-traversal (CVE-2017-13780)
CVE-2017-3163 Path Traversal in apache (CVE-2017-3163)
CVE-2017-10841 Path Traversal in path-traversal (CVE-2017-10841)
CVE-2017-2258 Path Traversal in path-traversal (CVE-2017-2258)
CVE-2017-10834 Path Traversal in path-traversal (CVE-2017-10834)
CVE-2014-8163 Directory traversal vulnerability in the XMLRPC interface in Red Hat Satellite 5.
CVE-2015-1198 Multiple directory traversal vulnerabilities in ha 0.999p+dfsg-5.
CVE-2015-1199 Directory traversal vulnerability in ppmd 10.1-5.
CVE-2015-1386 Directory traversal vulnerability in unshield 1.0-1.
CVE-2015-1876 Directory traversal vulnerability in ES File Explorer 3.2.4.1.
CVE-2014-5301 Path Traversal in path-traversal (CVE-2014-5301)
CVE-2014-5302 Path Traversal in path-traversal (CVE-2014-5302)
CVE-2014-8871 Path Traversal in path-traversal (CVE-2014-8871)
CVE-2017-7693 Path Traversal in path-traversal (CVE-2017-7693)
CVE-2017-12694 Path Traversal in path-traversal (CVE-2017-12694)
CVE-2017-9640 Path Traversal in path-traversal (CVE-2017-9640)
CVE-2015-1395 Path Traversal in path-traversal (CVE-2015-1395)
CVE-2015-4180 Path Traversal in path-traversal (CVE-2015-4180)
CVE-2015-4181 Path Traversal in path-traversal (CVE-2015-4181)
CVE-2015-8352 Path Traversal in path-traversal (CVE-2015-8352)
CVE-2017-12074 Path Traversal in path-traversal (CVE-2017-12074)
CVE-2017-9511 Path Traversal in path-traversal (CVE-2017-9511)
CVE-2017-12791 Path Traversal in salt (CVE-2017-12791)
CVE-2017-7424 Path Traversal in path-traversal (CVE-2017-7424)
CVE-2017-12943 Path Traversal in path-traversal (CVE-2017-12943)
CVE-2017-10665 Path Traversal in path-traversal (CVE-2017-10665)
CVE-2017-12938 Path Traversal in rarlab (CVE-2017-12938)

🍪 About cookies

We use cookies to keep you logged in, remember your language, and improve the service.

Details →