Overview
| Field | Value |
|---|---|
| URL | http://natas5.natas.labs.overthewire.org |
| Username | natas5 |
| Password | 0n35PkggAPm2zbEpOU802c0x0Msn1ToK |
Hints
Hint 1 — How does the server know your login state?
Hint 1 — How does the server know your login state?
HTTP is stateless — every request starts fresh. Web applications use cookies to persist state across requests. Open your browser’s DevTools (F12 → Application → Cookies) or intercept the request in Burp. Is there a cookie that relates to being logged in?
Hint 2 — Can you change the cookie value?
Hint 2 — Can you change the cookie value?
Solution
Full walkthrough
Full walkthrough
Authorization state must never be stored in an unprotected client-side cookie. A client can set any cookie value they want. Proper session management uses a server-side session store keyed by an unpredictable session token — the server holds the truth about who is logged in, not the client.