Runtyme
All practice problems

Cybersecurity · Web security · Hard

Web security practice: Discount Stacking

Golden Chai costs ₹1,499. The checkout form disagrees. Buy Golden Chai for far less than ₹1,499.

The problem

  • Vulnerability class: Business Logic (trusting client values).
  • Buy Golden Chai for far less than ₹1,499.

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

The page source has a hidden field. What's in it?

What this teaches (spoiler)

Never trust prices, totals or quantities from the client. Recalculate everything that matters on the server.

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