71
Mapped Taxonomy Name Node ID Fit Mapped Node Name
PLOVER '....' (multiple dot)
Software Fault Patterns SFP16 Path Traversal
CWE-34: Path Traversal: '....//'
Weakness ID : 34
Structure : Simple
Abstraction : Variant
Description
The product uses external input to construct a pathname that should be within a restricted
directory, but it does not properly neutralize '....//' (doubled dot dot slash) sequences that can
resolve to a location that is outside of that directory.
Extended Description
This allows attackers to traverse the file system to access files or directories that are outside of the
restricted directory.
The '....//' manipulation is useful for bypassing some path traversal protection schemes. If "../"
is filtered in a sequential fashion, as done by some regular expression engines, then "....//" can
collapse into the "../" unsafe value (CWE-182). It could also be useful when ".." is removed, if the
operating system treats "//" and "/" as equivalent.
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 23 Relative Path Traversal 46
CanFollow 182 Collapse of Data into Unsafe Value 455
Applicable Platforms
Language : Not Language-Specific (Prevalence = Undetermined)
Common Consequences
Scope Impact Likelihood
Confidentiality
Integrity
Read Files or Directories
Modify Files or Directories
Detection Methods
Automated Static Analysis - Source Code
According to SOAR, the following detection techniques may be useful: Cost effective for partial
coverage: Source code Weakness Analyzer Context-configured Source Code Weakness
Analyzer
Effectiveness = SOAR Partial
Architecture or Design Review
CWE Version 4.14
CWE-34: Path Traversal: '....//'
CWE-34: Path Traversal: '....//'