CWE-23
Overview
- CWE ID
- 23
- CWE Name
- Relative Path Traversal
- CWE Abstraction
- Base
- CWE structure
- Simple
- CWE Status
- Draft
Description
The software uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." 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.