Directory Traversal Attack

Directory Traversal Attack, also known as path traversal or ../ (dot dot slash) attack, is a security exploit where an attacker can access directories and files that are stored outside the web root folder. This type of attack occurs when a web application does not properly validate or sanitize user input, allowing an attacker to navigate the file system.

Example

The Cisco Duo Device Health Application for Windows has a vulnerability allowing a low-privileged attacker to perform directory traversal attacks, potentially overwriting files on the device. Directory traversal enables unauthorized access to restricted directories. Cisco has released software upgrades to fix the issue, emphasizing its high severity (CVSS score of 7.1). The vulnerability results from insufficient input validation, and successful exploitation could lead to overwriting files with SYSTEM-level privileges, causing potential DoS or data loss.

Cards

Data-validation-&-encoding

Github logo View source on GitHub

OWASP Cornucopia

  • OWASP Cornucopia is a mechanism in the form of a card game to assist software development teams identify security requirements in Agile, conventional and formal development processes. It is language, platform and technology-agnostic, and is free to use.
  • OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 3.0 license, so you can copy, distribute and transmit the work, and you can adapt it, and use it commercially, but all provided that you attribute the work and if you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar licence to this one.
  • © 2012-2025 OWASP Foundation. The Open Worldwide Application Security Project (OWASP) is a nonprofit foundation that works to improve the security of software.