Skip to content

Webmedium

Invoice Roulette

250 points · 0 solved

The billing portal happily serves any invoice ID you ask for — it never checks ownership. Your own invoice is #1042.

GET /api/invoices/1042
{"id":1042,"owner":"you","total":"$0.00","note":"welcome aboard"}

A support ticket mentions the staff test invoice is #1041. Requesting it returns:

{"id":1041,"owner":"staff","total":"$0.00",
 "note":"internal — sudo{sequential_ids_leak}"}

Hints0/2

Learn the technique/learn/web-app-security