Chicago American Nazi Party
Message: "I have been informed that you have quite admirable hacking skills. Well, this racist hate group is using their website to organize a mass gathering of ignorant racist bastards. We cannot allow such bigoted aggression to happen. If you can gain access to their administrator page and post messages to their main page, we would be eternally grateful."
My approach
As usual we start by checking the source code. In it we find signs of a file called update.php
Thus we try to access the URL which leaves us with a login prompt. We need to crack this somehow.
Hmm, stuck..
Go back to the start and go to chrome dev tools. There's a warning about mixed content at a certain location.
We then try the parent folder which returns a directory over images. Going even further back we find their main page.
But apparently this is a dead end. At this point I was stuck so I searched the web for a hint.
The solution, SQL injection
All that is needed is to input
' or 1=1-- into the user and password field
It's apparently called an SQL injection, which basically exploits a security vulnerability in how the user input is filtering string literals (') in a bad way. Thus using this command, the system gets tricked into believing that we are supplying correct credentials.
That's all.