CWE一覧に戻る
CWE-51

パスの等価性:'/multiple//internal/slash'

Path Equivalence: '/multiple//internal/slash'
脆弱性 作成中
JA

本製品は、複数の内部スラッシュ ('/multiple//internal/slash/') 形式のパス入力を適切な検証なしに受け付けます。このため、パスの解決が曖昧になり、攻撃者がファイルシステムを意図しない場所に移動したり、任意のファイルにアクセスしたりする可能性があります。

EN

The product accepts path input in the form of multiple internal slash ('/multiple//internal/slash/') without appropriate validation, which can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.

Scope: Confidentiality, Integrity / Impact: Read Files or Directories; Modify Files or Directories
Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
MITRE公式ページ — CWE-51