← All tasks
🔍
Cyber Security Advanced

SQL Injection Risk

⏱ 5 min ⭐ 20 XP 🔁 3 attempts allowed

What you'll do

This PHP code looks up a user by id from the URL. It is vulnerable to SQL injection. Click the line(s) that contain the bug.

Scenario

This PHP code looks up a user by id from the URL. It is vulnerable to SQL injection. Click the line(s) that contain the bug.

Ready to try it?

Create a free account and subscribe to take "SQL Injection Risk". Earn 20 XP and track your internship progress.

Already have an account? Sign in