HexBrain

Shopify · Report #1590115

Production Key and Data Found on Subdomain No Longer Operated by Shopify / Dangling DNS

Validstatus
34upvotes
1 May 2024disclosed

Summary

The disused subdomain for an app's data center had a dangling DNS record, and it was pointing to an IP address that doesn’t belong to Shopify. We removed the DNS record, but no Shopify services were impacted by the presence of this dangling DNS record, so the report was ineligible for a bounty.

好耶!第一份披露报告

How it was found

Hello, Shopify team. I found the subdomain in http://honeybee-honeybee-ingress-data-presto-us-central1-2.shopify-data-presto-global.shopifykloud.com/languages

I was allowed to view the source code of the app's configuration (I'm not really sure), he used base64 to encode the source file, I decrypted it through a third party and found a lot of source code, even including, some content that should not be on the internet, for this I recorded a demo video where I will show how I decrypted and retrieved sensitive information within the site

I didn't look at all the source code, I found one place where I could prove the harm

''' SCAN

{"name":"main/settings.py

███

SECURITY WARNING: keep the secret key used in production secret!

SECRET_KEY = '███'

'''

Impact

Key compromise can cause takeover, or direct operation of the production environment

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