1. Web Security Academy
  2. Directory traversal
  3. Lab

Lab: File path traversal, traversal sequences blocked with absolute path bypass

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.

To solve the lab, retrieve the contents of the /etc/passwd file.

Want to track your progress and have a more personalized learning experience? (It's free!)

Sign up Login