Runtyme
All practice problems

Cybersecurity · Web security · Warm-up

Web security practice: Search and Destroy

There's a search box for riders. It builds SQL from whatever you type. Make the riders search return rows it should hide.

The problem

  • Vulnerability class: Injection (SQL).
  • Make the riders search return rows it should hide.

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

Watch the Server log while you search.

What this teaches (spoiler)

Never build SQL by concatenating input. Parameterised queries keep data and code apart.

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