A session cookie anyone can edit
The admin export was downloaded by an account that is not an admin. Decode the session cookies the proxy logged and find who changed their role and how.
- Terminal mission
- Intermediate
- 3 questions
- 0 of 3 solved
Your goal
Your goalDecode logged session cookies and show who promoted themselves to admin.
The proxy in front of portal-01 logs the session cookie with each request. The application stores the session as base64-encoded JSON with no signature.
An unsigned cookie is a suggestion. If the server reads the role from it, a user can write any role they like.
What’s on screen
- Briefing
- the story: what happened and what evidence you were handed.
- Terminal
- the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
- Walkthrough
- the numbered path. Each step says what to type and what you should see. Hints open one at a time.
- Answer boxes
- under each question step. Type what you found and press Check.
Words to know
- JSON
- JavaScript Object Notation, a text format of fields and values
portal-01 · Decoding artifacts
Type help for the command list and objectives for your tasks. Everything runs in this browser.
Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.
Read first
More in Decoding artifacts
The whole walkthrough
Every step in order: 285 words, about 2 min. It gives away every answer, so try the steps first.