CWE一覧に戻る
CWE-56

パスの等価性:「filedir*」(ワイルドカード)

Path Equivalence: 'filedir*' (Wildcard)
脆弱性 作成中
JA

本製品は、アスタリスクワイルドカード ('filedir*') 形式のパス入力を適切な検証を行うことなく受け付けます。このため、パスの解決が曖昧になり、攻撃者がファイルシステムを意図しない場所に移動したり、任意のファイルにアクセスしたりする可能性があります。

EN

The product accepts path input in the form of asterisk wildcard ('filedir*') 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-56