Overview
A path traversal attack (also known as directory traversal) aims to access files and directories that are stored outside the web root folder. By manipulating variables that reference files with dot-dot-slash (../) sequences and its variations or by using absolute file paths, it may be possible to access arbitrary files and directories stored on file system including application source code or configuration and critical system files. It should be noted that access to files is limited by system operational access control (such as in the case of locked or in-use files on the Microsoft Windows operating system).
This attack is also known as dot-dot-slash, directory traversal, directory climbing and backtracking
How to identify if you are vulnerable
Be sure you understand how the underlying operating system will process filenames handed off to it.
Dont store sensitive configuration files inside the web root
For Windows IIS servers, the web root should not be on the system disk, to prevent recursive traversal back to system directories.
A path traversal vulnerability allows an attacker to access files on your web server to which they should not have access. They do this by tricking either the web server or the web application running on it into returning files that exist outside of the web root folder.
You can support us by donate with buy us a coffee. We appreciate your donation to our work for share free udemy courses.
Get courses alert everyday on our Telegram Channel. Join Now
Insidelearn Telegram ChannelShare this courses to your friends, community.