PicoCTF - Logon
The website lands us on a login form:
If we try to log in as
Joe
we get an error message:When we put random credentials as a test, e.g.
test:test
, we are able to log in:Let’s start Burp Suite and examine what’s happening behind the scenes:
It seems that when we logged in with
test:test
, aPOST
request was send to/problem/44573/login
directory which included a cookie calledadmin
which was set toFalse
. Next, there was aGET
request which also included theadmin
cookie:If we modify the latter request and then send it, we can get the flag in the response:
This post is licensed under CC BY 4.0 by the author.