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

ID Title
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)
CVE-2017-7462 Path Traversal in intellinet-network (CVE-2017-7462)
CVE-2017-6190 Path Traversal in path-traversal (CVE-2017-6190)
CVE-2016-4320 Path Traversal in path-traversal (CVE-2016-4320)
CVE-2015-7270 Path Traversal in path-traversal (CVE-2015-7270)
CVE-2017-7577 Path Traversal in path-traversal (CVE-2017-7577)
CVE-2017-7565 Path Traversal in path-traversal (CVE-2017-7565)
CVE-2017-7358 Path Traversal in path-traversal (CVE-2017-7358)
CVE-2017-4980 Path Traversal in path-traversal (CVE-2017-4980)
CVE-2017-7258 Path Traversal in path-traversal (CVE-2017-7258)
CVE-2015-8309 Path Traversal in cherrymusic (CVE-2015-8309)
CVE-2017-5899 Path Traversal in path-traversal (CVE-2017-5899)
CVE-2017-7240 Path Traversal in path-traversal (CVE-2017-7240)
CVE-2017-5869 Path Traversal in path-traversal (CVE-2017-5869)
CVE-2016-10048 Path Traversal in c (CVE-2016-10048)
CVE-2017-3851 Path Traversal in path-traversal (CVE-2017-3851)
CVE-2017-6805 Path Traversal in path-traversal (CVE-2017-6805)
CVE-2014-8704 Path Traversal in path-traversal (CVE-2014-8704)
CVE-2017-6510 Path Traversal in path-traversal (CVE-2017-6510)
CVE-2013-7462 Path Traversal in path-traversal (CVE-2013-7462)
CVE-2017-6527 Path Traversal in path-traversal (CVE-2017-6527)
CVE-2016-7135 Path Traversal in plone (CVE-2016-7135)

🍪 About cookies

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

Details →