CSE 598 ASOW - Fall 2026

Cookies and Session IDs

Sessions add stateful-ness to HTTP, a fundamentally stateless protocol. Cookies are the most common manner in which HTTP sessions are implemented. In this module, you will interact with some simple web applications and discover the secret flags that they have!

7 challenges

HTTP - 2 (Part 1)

HTTP - 2 (Part 2)

CHALLENGE 04

Return Ticket

— solves

Instead of storing all state in a cookie, a server can store that state itself and give the client a session ID that identifies it. The client returns the ID with later requests so the server can locate the same session. Therefore, protecting the (opaque) session ID is important.

Get a session ID from this server and return it in a cookie to receive the flag. Run /challenge/server, then interact with http://challenge.localhost/.

CHALLENGE 06

Session Inspector

— solves

This challenge stores web sessions in files. Quite luckily, this challenge also exposes a session inspector over HTTP. Use it to read the admin's session and recover the flag. Run /challenge/server, then interact with http://challenge.localhost/.

CHALLENGE 07

Predictable Sessions

— solves

Predict the admin's session ID, inspect that session, and recover the flag. Run /challenge/server, then interact with http://challenge.localhost/.