← All tasks
🔍
Advanced

Fix a Path Traversal Vulnerability

⏱ 5 min ⭐ 120 XP 🔁 3 attempts allowed

What you'll do

Find the line where a filename from user input is used directly to read a file, with no path validation.

Scenario

An attacker requests '../../etc/passwd' as the filename and successfully reads a sensitive system file.

Ready to try it?

Create a free account and subscribe to take "Fix a Path Traversal Vulnerability". Earn 120 XP and track your internship progress.

Already have an account? Sign in