Runtyme
All practice problems

Cybersecurity · Web security · Hard

Web security practice: Rider Search

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

The problem

  • Vulnerability class: Injection (SQL).
  • Make the coupons 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.