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