All practice problems Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.
Cybersecurity · Web security · Intermediate
Web security practice: Verified by Me
The profile form saves whatever fields it receives. Change your verified through the profile form.
The problem
- Vulnerability class: Mass Assignment (Broken Object Property Authorization).
- Change your verified through the profile form.
You'll use: URLs & HTTP · Cookies & DevTools · SQL injection · XSS · Brute force · OWASP Top 10
Solve it (expert level)3–5 min · Read code — no writing
Show a hint
Save the form and watch the Server log: which columns get updated?
What this teaches (spoiler)
Never pass request bodies straight to the database. Pick the fields a user is allowed to change.