Flag 7

The Deployer App error message suggested that we must include a query string parameter of Endpoint.

Using Postman, I made it visit to a requestbin endpoint, but was greeted with a new error message

It shows an error fetching an AAD Token, which reminds me of a Cloud SSRF Attack.

Referring to HackTricks, I made the Endpoint=https://management.azure.com and I am able to retrieve a bearer token.

Request

Response

Referring to Azure Documentation and this github url, I used Postman to perform further enumeration of the permission.

I first retrieved the subscription ID by requesting https://management.azure.com/subscriptions?api-version=2020-01-01

Request

Response

Then I attempt to retrieve a list of resources that the current user has access to.

Request

Response

I identify that the user has access to a storage account named coresat. To perform further enumeration on the storage account, I will need to request a storage account bearer token. Keeping in mind that the current bearer token is for management.

Request

Response

Next I refer to this documentation to further enumerate the storage account.

Request

Response

Now that we have the container name datahandling, we can enumerate the blobs within the container, referring to this article.

Request

Response

There are 2 blob in the container, namely Flag7.txt and LORRI-Cert.txt

Retrieving the Flag7.txt gives me the flag.

Request

Response

Flag 7 : All systems are functioning normally.

Last updated

Was this helpful?