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