slug: path-traversal
Explanation
パストラバーサルは「ファイル名を指定する箇所に `../../../etc/passwd` のような文字列を入れて、本来アクセスできないファイルを読み出す」攻撃です。
ファイルダウンロード機能や画像表示機能でよく見られます。
対策は「ユーザー入力のファイル名を、必ずホワイトリスト・固定ディレクトリに制限する」こと。
📌 Example
CVE-2024-57726 (SimpleHelp): zipファイル展開時のZip Slipにより、サーバー上の任意の場所にファイル書き込みされる脆弱性。
🔖 Related tags
Denial of Service8729
Cross-Site Scripting8164
SQL Injection3912
Remote Code Execution2922
Privilege Escalation1518
Cross-Site Request Forgery1075
Server-Side Request Forgery860
Authentication Bypass860
Insecure Deserialization742
Buffer Overflow77
Command Injection28
Use After Free20
Credential Leak14
Prototype Pollution7
Integer Overflow7