Runtyme
All practice problems

Cybersecurity · Web security · Hard

Web security practice: Self-Promotion

The profile form only shows two fields. The server accepts any. Make your own account an admin.

The problem

  • Vulnerability class: Broken Access Control (Mass Assignment).
  • Make your own account an admin.

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

Look at My account: which fields does your account have that the edit form doesn't show?

What this teaches (spoiler)

Mass assignment: never copy a request body or query straight onto a database record. Allowlist exactly the fields a user may change.

Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.