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-2023-6118 Path Traversal in path-traversal (CVE-2023-6118)
CVE-2023-47246 KEV [KEV] Path Traversal in Sysaid tomcat (CVE-2023-47246)
CVE-2023-42456 Path Traversal in sudo-rs (CVE-2023-42456)
CVE-2023-39810 An issue in the CPIO command of Busybox v1.33.2 allows attackers to execute a directory traversal.
CVE-2023-32315 KEV [KEV] Path Traversal in Ignite realtime ignite-realtime (CVE-2023-32315)
CVE-2020-26037 Path Traversal in path-traversal (CVE-2020-26037)
CVE-2023-38176 Azure Arc-Enabled Servers Elevation of Privilege Vulnerability
CVE-2023-37646 Path Traversal in path-traversal (CVE-2023-37646)
CVE-2023-38951 Path Traversal in path-traversal (CVE-2023-38951)
CVE-2023-38956 Path Traversal in path-traversal (CVE-2023-38956)
CVE-2023-35081 KEV [KEV] Path Traversal in Ivanti endpoint-manager-mobile-epmm (CVE-2023-35081)
CVE-2020-22623 Path Traversal in path-traversal (CVE-2020-22623)
CVE-2023-35069 Path Traversal in path-traversal (CVE-2023-35069)
CVE-2023-26243 Path Traversal in hyundai (CVE-2023-26243)
CVE-2023-27812 Path Traversal in bloofox (CVE-2023-27812)
CVE-2022-41328 KEV [KEV] Path Traversal in Fortinet fortios (CVE-2022-41328)
CVE-2023-24188 Path Traversal in path-traversal (CVE-2023-24188)
CVE-2022-47768 Serenissima Informatica Fast Checkin 1.0 is vulnerable to Directory Traversal.
CVE-2022-2712 Path Traversal in path-traversal (CVE-2022-2712)
CVE-2021-37500 Path Traversal in path-traversal (CVE-2021-37500)
CVE-2022-3693 Path Traversal in path-traversal (CVE-2022-3693)
CVE-2018-5430 KEV [KEV] Path Traversal in Tibco jasperreports (CVE-2018-5430)
CVE-2018-18809 KEV [KEV] Path Traversal in Tibco jasperreports (CVE-2018-18809)
CVE-2022-26500 KEV [KEV] Path Traversal in Veeam backup-replication (CVE-2022-26500)
CVE-2022-42125 Path Traversal in path-traversal (CVE-2022-42125)
CVE-2022-42123 Path Traversal in path-traversal (CVE-2022-42123)
CVE-2022-41352 KEV [KEV] Path Traversal in Synacor zimbra-collaboration-suite-zcs (CVE-2022-41352)
CVE-2022-40123 Path Traversal in path-traversal (CVE-2022-40123)
CVE-2022-34026 ICEcoder v8.1 allows attackers to execute a directory traversal.
CVE-2022-28981 Path Traversal in path-traversal (CVE-2022-28981)

🍪 About cookies

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

Details →