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

Loading comments 0%

Provided by dotNET lab

This website is created, hosted and provided by dotNET lab. dotNET lab provides training and guidance on secure software development. Contact us to get in touch!

OWASP Cornucopia

OWASP Cornucopia is originally created by Colin Watson. It is open source and can be downloaded free of charge from the OWASP website. It is is free to use. It 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 license to this one. OWASP does not endorse or recommend commercial products or services. OWASP Cornucopia is licensed under the Creative Commons Attribution-ShareAlike 3.0 license and is © 2012-2016 OWASP Foundation.