HexBrain

Shopify · Report #1258871

Exposed Cortex API at https://cortex-ingest.shopifycloud.com/

Validstatus
mediumseverity
$6,300bounty
101upvotes
2 Dec 2022disclosed

Summary

@ian found a misconfigured cortex instance that was unintentionally available without employee authentication. Our team has deployed a fix and put the instance behind authentication within the first 24 hours of receiving the report.

How it was found

Hi there, to be honest this is the first time I have seen this type of asset, but I think it is interesting/not supposed to be exposed. There is a Cortex metrics server running without authentication on https://cortex-ingest.shopifycloud.com/. This allows us to see the config for the server, call various Cortex APIs, and also exposes a Golang pprof debugger where we can see all the command-line arguments and DoS the server.

Example URLs:

I see that the Cortex API offers many endpoints, some of which work and some of which do not: https://cortexmetrics.io/docs/api/#endpoints. I will take a look and see what impact I can find there.

Impact

Information disclosure, no authentication

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original