WEB241: Hardening PHP Web Apps - Path Traversal and LFI

In this lab, you have been hired to secure a recently launched web application that is vulnerable to many external attacks. Your task is to identify locations where Path Traversal and Local File Inclusion (LFI) might occur and fix the code to prevent these issues from occurring.

Time
30 minutes
Difficulty
Intermediate
Share
NEED TO TRAIN YOUR TEAM? LEARN MORE
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Overview

In this lab, you have been hired to secure a recently launched web application that is vulnerable to many external attacks. Your task is to identify locations where Path Traversal and Local File Inclusion (LFI) might occur and fix the code to prevent these issues from occurring.