A Suit of Armor Around The World
Last updated
Last updated
'A suit of armor around the world' - well that's what Tony saw when making Ultron until it turned rogue. In any alternate universe, (the one we happen to be residing in), Ultron was created, and it did go rogue, just not in the scary ways we know. Ultron started selling Avenger's tech on a "sophisticated" website. As simple as that task may seem, this version of Ultron was pretty bad at staying secure. Can you randomly find something on this site that leads you to some astonishing function-ality?
Start Here https://avengersupplies.azurewebsites.net/
When interacting with the web application, and retrieving item from the shop, I identified that it is calling image from /Content/{number}.jpg
It could possibly be a IDOR vulnerability
In the website page source, there is only option to retrieve item 1 to item 6.
After manually enumerating, 7.jpg shows 404 error, while 0.jpg retrieved something interesting
Visiting the URL shows a JSON output that is output from a Cosmos DB
When replacing the productid
value to '
it shows a sql syntax error
I am then able to set the productid
to ' or 1=1 -- ;
to retrieve everything within the cosmosdb and get the flag
Flag: flag-{oncg3EWYmbVe8KZ5NtVPu88Td2CuQ9yk}