CWE
Home > CWE List > CWE- Individual Dictionary Definition (1.1)  
Search by ID:

CWE-55: Path Equivalence: '/./' (Single Dot Directory)

Individual Definition in a New Window
Path Equivalence: '/./' (Single Dot Directory)
Status: Incomplete
Weakness ID: 55 (Weakness Variant)
Description
Summary

A software system that accepts path input in the form of single dot directory exploit ('/./') without appropriate validation can lead to ambiguous path resolution and allow an attacker to traverse the file system to unintended locations or access arbitrary files.

Potential Mitigations

see the vulnerability category "Path Equivalence"

Observed Examples
ReferenceDescription
BID:6042
 
Possibly (could be a cleansing error)
 
 
 
"/./////etc" cleansed to ".///etc" then "/etc"
Relationships
NatureTypeIDNameView(s) this relationship pertains toView(s)
ChildOfWeakness BaseWeakness BaseWeakness Base41Failure to Resolve Path Equivalence
Development Concepts (primary)699
Research Concepts (primary)1000
Taxonomy Mappings
Mapped Taxonomy NameMapped Node Name
PLOVER/./ (single dot directory)
Applicable Platforms
Languages
All
Time of Introduction
* Implementation
Content History
Submissions
PLOVER. (Externally Mined)
Modifications
Eric Dalci. Cigital. 2008-07-01. (External)
updated Time_of_Introduction
CWE Content Team. MITRE. 2008-09-08. (Internal)
updated Relationships, Taxonomy_Mappings
Previous Entry Names
* Path Issue - Single Dot Directory - /./ (changed 2008-04-11)
Page Last Updated: November 24, 2008