92
Nature Type ID Name Page
MemberOf 743 CERT C Secure Coding Standard (2008) Chapter 10 -
Input Output (FIO)
734 2347
MemberOf 877 CERT C++ Secure Coding Section 09 - Input Output
(FIO)
868 2377
MemberOf 884 CWE Cross-section 884 2567
MemberOf 981 SFP Secondary Cluster: Path Traversal 888 2409
MemberOf 1404 Comprehensive Categorization: File Handling 1400 2529
Notes
Relationship
Some of these manipulations could be effective in path traversal issues, too.
Taxonomy Mappings
Mapped Taxonomy Name Node ID Fit Mapped Node Name
PLOVER Path Equivalence
CERT C Secure Coding FIO02-C Canonicalize path names originating
from untrusted sources
Related Attack Patterns
CAPEC-ID Attack Pattern Name
3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters
CWE-42: Path Equivalence: 'filename.' (Trailing Dot)
Weakness ID : 42
Structure : Simple
Abstraction : Variant
Description
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.
Relationships
The table(s) below shows the weaknesses and high level categories that are related to this
weakness. These relationships are defined as ChildOf, ParentOf, MemberOr and give insight to
similar items that may exist at higher and lower levels of abstraction. In addition, relationships such
as PeerOf and CanAlsoBe are defined to show similar weaknesses that may want to be explored.
Relevant to the view "Research Concepts" (CWE-1000)
Nature Type ID Name Page
ChildOf 162 Improper Neutralization of Trailing Special Elements 417
ChildOf 41 Improper Resolution of Path Equivalence 86
ParentOf 43 Path Equivalence: 'filename....' (Multiple Trailing Dot) 93
Applicable Platforms
Language : Not Language-Specific (Prevalence = Undetermined)
Common Consequences
Scope Impact Likelihood
Access Control Bypass Protection Mechanism
Observed Examples
CWE Version 4.14
CWE-43: Path Equivalence: 'filename....' (Multiple Trailing Dot)
CWE-43: Path Equivalence: 'filename....' (Multiple Trailing Dot)