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-16929 Path Traversal in path-traversal (CVE-2017-16929)
CVE-2017-10861 Path Traversal in path-traversal (CVE-2017-10861)
CVE-2017-15607 Path Traversal in path-traversal (CVE-2017-15607)
CVE-2017-14196 Path Traversal in path-traversal (CVE-2017-14196)
CVE-2017-17058 Path Traversal in wordpress (CVE-2017-17058)
CVE-2017-17042 Path Traversal in path-traversal (CVE-2017-17042)
CVE-2017-16959 Path Traversal in tp-link (CVE-2017-16959)
CVE-2017-16936 Path Traversal in path-traversal (CVE-2017-16936)
CVE-2017-8189 Path Traversal in path-traversal (CVE-2017-8189)
CVE-2017-2693 Path Traversal in path-traversal (CVE-2017-2693)
CVE-2017-2695 Path Traversal in path-traversal (CVE-2017-2695)
CVE-2017-2706 Path Traversal in path-traversal (CVE-2017-2706)
CVE-2017-15527 Path Traversal in path-traversal (CVE-2017-15527)
CVE-2017-16903 Path Traversal in path-traversal (CVE-2017-16903)
CVE-2017-1000170 jqueryFileTree 2.1.5 and older Directory Traversal
CVE-2017-16877 Path Traversal in path-traversal (CVE-2017-16877)
CVE-2017-1087 Path Traversal in privilege-escalation (CVE-2017-1087)
CVE-2017-16806 Path Traversal in path-traversal (CVE-2017-16806)
CVE-2017-16762 Path Traversal in sanic (CVE-2017-16762)
CVE-2017-16759 Path Traversal in librenms (CVE-2017-16759)
CVE-2017-11511 Path Traversal in manageengine (CVE-2017-11511)
CVE-2017-11512 Path Traversal in manageengine (CVE-2017-11512)
CVE-2017-10940 Path Traversal in joyent (CVE-2017-10940)
CVE-2014-0115 Path Traversal in apache (CVE-2014-0115)
CVE-2017-14695 Path Traversal in salt (CVE-2017-14695)
CVE-2014-3744 Path Traversal in path-traversal (CVE-2014-3744)
CVE-2017-15805 Path Traversal in path-traversal (CVE-2017-15805)
CVE-2017-9947 Path Traversal in path-traversal (CVE-2017-9947)
CVE-2017-15647 Path Traversal in path-traversal (CVE-2017-15647)
CVE-2017-10933 Path Traversal in path-traversal (CVE-2017-10933)

🍪 About cookies

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

Details →