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,023

ID Title
CVE-2017-5163 Path Traversal in path-traversal (CVE-2017-5163)
CVE-2016-9339 Path Traversal in path-traversal (CVE-2016-9339)
CVE-2016-9351 Path Traversal in path-traversal (CVE-2016-9351)
CVE-2016-5803 Path Traversal in ca-technologies (CVE-2016-5803)
CVE-2016-4986 Path Traversal in path-traversal (CVE-2016-4986)
CVE-2016-4987 Path Traversal in path-traversal (CVE-2016-4987)
CVE-2016-8211 Path Traversal in path-traversal (CVE-2016-8211)
CVE-2017-5219 Path Traversal in sagecrm (CVE-2017-5219)
CVE-2016-5941 Path Traversal in ibm (CVE-2016-5941)
CVE-2016-8933 Path Traversal in ibm (CVE-2016-8933)
CVE-2016-6126 Path Traversal in ibm (CVE-2016-6126)
CVE-2016-8913 Path Traversal in ibm (CVE-2016-8913)
CVE-2016-10173 Path Traversal in path-traversal (CVE-2016-10173)
CVE-2016-6269 Path Traversal in path-traversal (CVE-2016-6269)
CVE-2016-10183 Path Traversal in dlink (CVE-2016-10183)
CVE-2016-10184 Path Traversal in dlink (CVE-2016-10184)
CVE-2016-7569 Path Traversal in path-traversal (CVE-2016-7569)
CVE-2016-6517 Path Traversal in path-traversal (CVE-2016-6517)
CVE-2016-6600 Path Traversal in path-traversal (CVE-2016-6600)
CVE-2016-6601 Path Traversal in path-traversal (CVE-2016-6601)
CVE-2017-5182 Path Traversal in path-traversal (CVE-2017-5182)
CVE-2017-5539 Path Traversal in path-traversal (CVE-2017-5539)
CVE-2017-5541 Path Traversal in path-traversal (CVE-2017-5541)
CVE-2016-5725 Path Traversal in path-traversal (CVE-2016-5725)
CVE-2016-6896 Path Traversal in wordpress (CVE-2016-6896)
CVE-2016-2087 Path Traversal in path-traversal (CVE-2016-2087)
CVE-2016-7982 Path Traversal in path-traversal (CVE-2016-7982)
CVE-2017-5480 Path Traversal in path-traversal (CVE-2017-5480)
CVE-2016-8204 Path Traversal in path-traversal (CVE-2016-8204)
CVE-2016-8205 Path Traversal in path-traversal (CVE-2016-8205)

🍪 About cookies

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

Details →