CWE-41: Improper Resolution of Path Equivalence
Description
The product is vulnerable to file system contents disclosure through path equivalence. Path equivalence involves the use of special characters in file and directory names. The associated manipulations are intended to generate multiple names for the same object.
Submission Date :
July 19, 2006, midnight
Modification Date :
2023-10-26 00:00:00+00:00
Organization :
MITRE
Extended Description
Path equivalence is usually employed in order to circumvent access controls expressed using an incomplete set of file name or file path representations. This is different from path traversal, wherein the manipulations are performed to generate a name for a different object.
Related Weaknesses
This table shows the weaknesses and high level categories that are related to this weakness. These relationships are defined to give an overview of the different insight to similar items that may exist at higher and lower levels of abstraction.
CWE-20: Improper Input Validation
CWE-42: Path Equivalence: 'filename.' (Trailing Dot)
CWE-44: Path Equivalence: 'file.name' (Internal Dot)
CWE-46: Path Equivalence: 'filename ' (Trailing Space)
CWE-47: Path Equivalence: ' filename' (Leading Space)
CWE-48: Path Equivalence: 'file name' (Internal Whitespace)
CWE-49: Path Equivalence: 'filename/' (Trailing Slash)
CWE-50: Path Equivalence: '//multiple/leading/slash'
CWE-51: Path Equivalence: '/multiple//internal/slash'
CWE-52: Path Equivalence: '/multiple/trailing/slash//'
CWE-53: Path Equivalence: '\multiple\\internal\backslash'
CWE-54: Path Equivalence: 'filedir\' (Trailing Backslash)
CWE-55: Path Equivalence: '/./' (Single Dot Directory)
CWE-56: Path Equivalence: 'filedir*' (Wildcard)
CWE-57: Path Equivalence: 'fakedir/../realdir/filename'
CWE-58: Path Equivalence: Windows 8.3 Filename
CWE-73: External Control of File Name or Path
CWE-172: Encoding Error
CWE-706: Use of Incorrectly-Resolved Name or Reference
CWE-1289: Improper Validation of Unsafe Equivalence in Input
Visit http://cwe.mitre.org/ for more details.