Skip to content
Info disclosure Disclosed report Intermediate

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.

fisher Follow

Originally disclosed on HackerOne

Bounty$1,000 Medium 5.3 View original
  • 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.

The original report as published on HackerOne, by fisher. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open a private listing on the marketplace.
  2. Search the page's DOM for the script element carrying the framework key.
  3. Read the embedded JSON to obtain the shop ID, owner name and owner email.
  4. 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.

More by fisher

View all

2 more disclosed reports, best first.

More from Shopify

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.