
Master the directory traversal concepts through theory and six hands-on labs, from white-box and black-box testing to scripting exploits in Python, using Port Swingers Web Security Academy labs.
Join the unified Discord server to get quicker, cross-platform support and a centralized Q&A for this course and other platforms, with email or phone verification to authenticate.
Learn Udemy interface tips and tricks to optimize your study experience, from playback speed and captions to transcripts, resources, offline downloads, notes, keyboard shortcuts, and Q&A navigation.
Explore how to exploit directory traversal vulnerabilities, from using dot dot slash and absolute paths to bypass validation, encoding payloads, and using null bytes with scanners.
discover how to prevent directory traversal vulnerabilities by avoiding user input in file system calls, and applying a two-layer defense: input validation and path canonicalization against the target directory.
Set up your environment with VMware Fusion, Burp Suite Community Edition and Professional Edition, Visual Studio, and Foxy proxy for hands-on labs on Port Swagger Web Security Academy.
In this video, we cover Lab #1 in the Directory Traversal Vulnerabilities module of the Web Security Academy. This lab contains a file path traversal vulnerability in the display of product images. The application validates that the supplied filename ends with the expected file extension.
In this video, we cover Lab #2 in the Directory Traversal Vulnerabilities module of the Web Security Academy. This lab contains a file path traversal vulnerability in the display of product images. The application blocks traversal sequences but treats the supplied filename as being relative to a default working directory.
In this video, we cover Lab #3 in the Directory Traversal Vulnerabilities module of the Web Security Academy. This lab contains a file path traversal vulnerability in the display of product images. The application strips path traversal sequences from the user-supplied filename before using it.
In this video, we cover Lab #4 in the Directory Traversal Vulnerabilities module of the Web Security Academy. This lab contains a file path traversal vulnerability in the display of product images. The application blocks input containing path traversal sequences. It then performs a URL-decode of the input before using it.
In this video, we cover Lab #5 in the Directory Traversal Vulnerabilities module of the Web Security Academy. This lab contains a file path traversal vulnerability in the display of product images. The application transmits the full file path via a request parameter, and validates that the supplied path starts with the expected folder.
In this video, we cover Lab #6 in the Directory Traversal Vulnerabilities module of the Web Security Academy. This lab contains a file path traversal vulnerability in the display of product images. The application validates that the supplied filename ends with the expected file extension.
Directory Traversal (or also known as file path traversal) is a vulnerability that allows an attacker to read arbitrary files on the server that is running the application. This includes files that contain credentials, system configuration and application code. In some cases, not only could you read arbitrary files, but you could also write to arbitrary files which usually leads to a full system compromise. Therefore, mastering the ability to identify and exploit directory traversal vulnerabilities has become an essential and foundational skill.
In this course, we dive into the technical details behind directory traversal vulnerabilities, how to find these types of vulnerabilities from a black-box and white-box perspective and the different ways to exploit these types of vulnerabilities. We also cover prevention and mitigation techniques that you can use to prevent directory traversal vulnerabilities.
This is not your average course that just teaches you the basics. It's the perfect mix of theory and practice! The course contains 6 hands-on labs of varying difficulty levels that teach you how to first manually exploit the vulnerability and then how to script/automate your exploit in Python.
If you're a penetration tester, application security specialist, bug bounty hunter, software developer, ethical hacker, or just anyone interested in web application security, this course is for you!