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-11723 Path Traversal in path-traversal (CVE-2017-11723)
CVE-2017-11658 Path Traversal in wordpress (CVE-2017-11658)
CVE-2017-11630 Path Traversal in path-traversal (CVE-2017-11630)
CVE-2017-8033 Path Traversal in cloudfoundry (CVE-2017-8033)
CVE-2015-1847 Path Traversal in path-traversal (CVE-2015-1847)
CVE-2017-11587 Path Traversal in path-traversal (CVE-2017-11587)
CVE-2017-11589 Path Traversal in cisco (CVE-2017-11589)
CVE-2016-10400 Path Traversal in path-traversal (CVE-2016-10400)
CVE-2017-10993 Path Traversal in path-traversal (CVE-2017-10993)
CVE-2017-11500 Path Traversal in path-traversal (CVE-2017-11500)
CVE-2017-11469 get2post.php in IDERA Uptime Monitor 7.8 has directory traversal in the file_name parameter.
CVE-2017-11440 Path Traversal in path-traversal (CVE-2017-11440)
CVE-2017-11456 Path Traversal in path-traversal (CVE-2017-11456)
CVE-2017-10708 Path Traversal in path-traversal (CVE-2017-10708)
CVE-2017-2240 Path Traversal in path-traversal (CVE-2017-2240)
CVE-2017-11348 Path Traversal in path-traversal (CVE-2017-11348)
CVE-2017-1000047 Path Traversal in path-traversal (CVE-2017-1000047)
CVE-2017-1000062 Path Traversal in path-traversal (CVE-2017-1000062)
CVE-2017-1000026 Path Traversal in path-traversal (CVE-2017-1000026)
CVE-2017-1000028 Path Traversal in path-traversal (CVE-2017-1000028)
CVE-2017-1000002 Path Traversal in path-traversal (CVE-2017-1000002)
CVE-2017-8003 Path Traversal in path-traversal (CVE-2017-8003)
CVE-2014-7954 Path Traversal in cpp (CVE-2014-7954)
CVE-2015-3297 Path Traversal in path-traversal (CVE-2015-3297)
CVE-2017-2245 Path Traversal in path-traversal (CVE-2017-2245)
CVE-2017-10974 Path Traversal in path-traversal (CVE-2017-10974)
CVE-2017-6704 Path Traversal in cisco (CVE-2017-6704)
CVE-2015-7780 Directory traversal vulnerability in ManageEngine Firewall Analyzer before 8.0.
CVE-2017-9846 Path Traversal in path-traversal (CVE-2017-9846)
CVE-2017-9833 Path Traversal in boa (CVE-2017-9833)

🍪 About cookies

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

Details →