H1514 Deanonymizing Exchange Marketplace private listings
Private listings on a shop marketplace were meant to hide the shop's identity, but a server-rendered script element embedded the shop ID, owner name and owner email in the page source. An attacker could use that data, plus a public header on the shop's own site, to work out which real business was for sale.
- Fixed in 5 days
- Paid in 5 days
- Disclosed after 17 months
Summary:
Exchange Marketplace allows Shop owners to sell their business in a easy way. When placing the shop in the listings, the owner has the option to place their store as a private listing - where only stats will be displayed, and no information about the actual Shop, domain name or shop owned are visible.
Inspecting the source code I discovered a <script> element generated by Hypernova which discloses the aforementioned private data:
- Shop ID
- Shop Owner name
- Shop owner email
Steps To Reproduce:
To find the script, first pick a private listing e.g. 930273. Then search the DOM for a <script> element containing the 'data-hypernova-key' string:
We'll have a long JSON available containing the variables mentioned:
This only discloses some data, but it's enough to pinpoint what the real Shop is, using some recon.
The first method is with open intel - we have the Shop owner name and email. Most of the business will be registered in Linkedin so, a search there or using Google should be suffice to have a match.
The second method is much more reliable and can be made via multiple ways, let's describe the easiest. Firstly, an attacker downloads a dataset of all known websites using Shopify, using something like Wappalyzer or BuiltWith:
With that dataset he'll fetch every page and observe the response headers, where the X-ShopId header is present:
Now the attacker would have a direct match of Shop -> ShopID, thus deanonymizing the private listing.
I believe it's fair to assume that if a Shop is being sold on the Marketplace it will have a decent amount of traffic. Thus, it should definitely be present in any of these available datasets.
Impact
An attacker can deanonymize private listings in Marketplace, finding out who the Shop Owner/Seller is and what is the business.
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
Impact
An attacker could deanonymise private listings, learning who the seller is and which business is for sale.
What the attacker needed
Access to a private listing page; public dataset of Shopify sites (optional)
How it was found
- Open a private listing on the marketplace.
- Search the page's DOM for the script element carrying the framework key.
- Read the embedded JSON to obtain the shop ID, owner name and owner email.
- Optionally collect a dataset of Shopify sites and match the shop ID from the response header to a domain.
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 marketplace lets people sell an online shop without revealing which shop it is. The page still carried hidden data in its code, including the shop's internal number and the owner's name and email. Anyone who viewed the page source could read it and then match the number to a real website.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.