CWEweakness

CWE-43 Path Equivalence: 'filename....' (Multiple Trailing 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 trailing dot ('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.

Common consequences

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

Observed examples

• CVE-2004-0281: Multiple trailing dot allows directory listing

Related

Observed example · CVE (1)

  • CVE-2004-0281 Caucho Technology Resin 2.1.12 allows remote attackers to gain sensitive information and view the contents of the /WEB-INF/ directory via… vulnerability

Child of · CWE (2)

  • CWE-163 Improper Neutralization of Multiple Trailing Special Elements weakness
  • CWE-42 Path Equivalence: 'filename.' (Trailing Dot) weakness

Referenced by CVE · weakness (1)

  • CVE-2025-10353 File upload leading to remote code execution (RCE) in the “melis-cms-slider” module of Melis Technology's Melis Platform. vulnerability