Is the Google Bucket Meant To Be Publicly Listable? https://cdn.shopify.com/shop-assets/
A Shopify CDN path lists objects from a Google Cloud Storage bucket that otherwise denies anonymous listing. An attacker could enumerate all object names in that bucket, which may expose sensitive file paths.
- Fixed in 3 days
- Paid in 6 days
- Disclosed after 12 months
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
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely an unintentional configuration allowing the CDN path to list bucket objects despite the bucket denying anonymous listing.
Impact
An attacker could list all objects in a GCP bucket that should be protected from anonymous users, potentially exposing sensitive file names or paths.
What the attacker needed
None
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A cloud storage bucket is like a folder online. Normally, only certain people can see the list of files inside. Here, a different web address (on Shopify's CDN) showed the full list of files, even though the bucket itself said 'no' to strangers. This could let anyone see what files exist, which might reveal private information.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.