CWEweakness

CWE-45 Path Equivalence: 'file...name' (Multiple Internal Dot)

Official page ↗
Abstraction
Variant
Structure
Simple
Status
Incomplete
Languages
Not Language-Specific
CWE version
5.0

Description

The product accepts path input in the form of multiple internal dot ('file...dir') 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.

Common consequences

• Confidentiality, Integrity: Read Files or Directories, Modify Files or Directories

Related

Child of · CWE (2)

  • CWE-165 Improper Neutralization of Multiple Internal Special Elements weakness
  • CWE-44 Path Equivalence: 'file.name' (Internal Dot) weakness