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

ID Title
CVE-2017-9030 Path Traversal in path-traversal (CVE-2017-9030)
CVE-2016-10330 Path Traversal in path-traversal (CVE-2016-10330)
CVE-2016-10331 Path Traversal in path-traversal (CVE-2016-10331)
CVE-2017-8921 Path Traversal in path-traversal (CVE-2017-8921)
CVE-2017-2163 Path Traversal in path-traversal (CVE-2017-2163)
CVE-2017-8868 Path Traversal in csrf (CVE-2017-8868)
CVE-2017-8853 Path Traversal in path-traversal (CVE-2017-8853)
CVE-2017-7929 Vulnerability in path-traversal (CVE-2017-7929)
CVE-2017-6629 Path Traversal in path-traversal (CVE-2017-6629)
CVE-2016-10367 Path Traversal in path-traversal (CVE-2016-10367)
CVE-2016-8593 Path Traversal in path-traversal (CVE-2016-8593)
CVE-2017-2117 Path Traversal in path-traversal (CVE-2017-2117)
CVE-2017-2119 Path Traversal in path-traversal (CVE-2017-2119)
CVE-2017-2150 Path Traversal in path-traversal (CVE-2017-2150)
CVE-2016-7842 Path Traversal in path-traversal (CVE-2016-7842)
CVE-2016-7843 Path Traversal in path-traversal (CVE-2016-7843)
CVE-2017-2090 Path Traversal in path-traversal (CVE-2017-2090)
CVE-2017-2098 Path Traversal in path-traversal (CVE-2017-2098)
CVE-2017-8297 Path Traversal in path-traversal (CVE-2017-8297)
CVE-2017-8283 Path Traversal in path-traversal (CVE-2017-8283)
CVE-2017-8115 Path Traversal in path-traversal (CVE-2017-8115)
CVE-2015-7245 Path Traversal in path-traversal (CVE-2015-7245)
CVE-2016-4313 Path Traversal in path-traversal (CVE-2016-4313)
CVE-2017-8104 In MyBB before 1.8.11, the smilie module allows Directory Traversal via the pathfolder parameter.
CVE-2015-0107 Path Traversal in path-traversal (CVE-2015-0107)
CVE-2016-5312 Path Traversal in path-traversal (CVE-2016-5312)
CVE-2015-8780 Samsung wssyncmlnps before 2015-10-31 allows directory traversal in a Kies restore, aka ZipFury.
CVE-2015-8283 Path Traversal in path-traversal (CVE-2015-8283)
CVE-2016-7552 Path Traversal in path-traversal (CVE-2016-7552)
CVE-2017-7461 Path Traversal in path-traversal (CVE-2017-7461)

🍪 About cookies

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

Details →