A header that says too much
A raw HTTP response stores a base64 debug token in a custom header.
A Nordvik engineer sent a copy of an HTTP response for debugging. The production server turns out to add a token header that should only exist in staging.
ObjectiveRead every response header, find the debug token, and decode it into the flag.
Useful tools
Text editorcurl -ibase64CyberChef
Files
headers.txt
DownloadHints
Hint 1
Open
headers.txt. This is a raw HTTP response. Headers and body are separated by one blank line. Read from top to bottom, not just the body.Hint 2
There is an
X-Debug-Token header whose value is base64. Copy only the value, then decode it with base64 -d or CyberChef “From Base64”.Hint 3
The decoded result is the flag. If you use curl against the real endpoint, add
-i or -D - so the headers are shown.