HexBrain

Shopify · Report #1102546

Is the Google Bucket Meant To Be Publicly Listable? https://cdn.shopify.com/shop-assets/

Validstatus
25upvotes
9 Feb 2022disclosed

How it was found

Hi,

I found that https://cdn.shopify.com/shop-assets/ is listing the all objects in https://storage.googleapis.com/arrive-assets-storage-production/

But when I directly visit https://storage.googleapis.com/arrive-assets-storage-production/, it says

Anonymous caller does not have storage.objects.list access to the Google Cloud Storage bucket.

So I wonder maybe it is unintentional that user can directly list all the objects in GCP using the link https://cdn.shopify.com/shop-assets/?

PoC

██████

Impact

List objects in GCP that should be protected from anonymous users

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