WX01
Last updated
Was this helpful?
Last updated
Was this helpful?
Type
Difficulty
Web
eXtreme
The last web challenge was a bit hard and it mostly depends on enumeration and researching.
From the home page it asking for our name, by entering any name the page will show the message Reload for your greeting...
nothing interesting here.
By looking at the cookies I found that their is cookie stored on the website and presence in the request. The value of the cookie is KGRwMApWbmFtZQpwMQpWdGV0cwpwMgpzLg==
which is base64 encoded and the decoded base64 value is:
After researching I found the decoded value is python library called Pickle and it is having remote code execution vulnerability.
After I identifying that the code is vulnerable to RCE I inject a reverse shell into the code using the following command:
Then I base64 encode it.
Finally I entered my base64 encoded text into the input then I got the flag.
Flag is: whaTaPiCKle-018817