CWE一覧に戻る
CWE-55

パスの等価性:'/./'(シングル・ドット・ディレクトリ)

Path Equivalence: '/./' (Single Dot Directory)
脆弱性 作成中
JA

この製品は、適切な検証を行わずにシングル・ドット・ディレクトリのエクスプロイト('/./')形式のパス入力を受け付けます。このため、パスの解決方法が曖昧になり、攻撃者がファイルシステムを意図しない場所に移動したり、任意のファイルにアクセスしたりする可能性があります。

EN

The product accepts path input in the form of single dot directory exploit ('/./') 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-55