Challenges › Web

Token Workshop

medium · 40 XP · machine with a lab · free · solves: 0

Ticketline's API gives a customer token at /api/token and checks it at /api/me. The team says a signed token is safe. Decode the token, then forge an admin token by setting the header alg to none and sending it as a Bearer token. See which role the API accepts (lessons 24 and 25).

Browse the target: start the lab, then click Open target ↗ at the top right of the Attack box panel. It opens the app in a new tab at its own HTTPS address. Use your browser and its DevTools there.

Attack box: a Linux shell with curl, jq and Python. It reaches the same app at the address shown in the lab panel (for example 198.18.0.3:8080). Answer each question below.

Try next