CWE-42: Path Equivalence: 'filename.' (Trailing Dot)
ID
CWE-42
Abstraction
Variant
Structure
Simple
Status
Incomplete
The product accepts path input in the form of 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.
Modes of Introduction
Phase | Note |
---|---|
Implementation |
Applicable Platforms
Type | Class | Name | Prevalence |
---|---|---|---|
Language | Not Language-Specific |
Relationships
Loading...