Skip to content
Info disclosure Disclosed report Intermediate

Bypass For #997350 your-store.myshopify.com preview link is leak on third party website Via Online Store

A Shopify store's preview link was leaked to third-party websites through the Referer header when a user clicked social media links. An attacker controlling such a third-party site could use the leaked link to preview the store without the password.

danishalkatiri Follow

Originally disclosed on HackerOne

Bounty$500 Low 2.4 View original
  • Triaged in 6 hours
  • Fixed in 15 months
  • Paid in 2 days
  • Disclosed after 16 months

Hi Security Team,

#Description Full Description in #997350

The owner of that website can perform a security compromise by grabbing those links.

#Solution: The solution is very very SIMPLE. Just include the following HTML code in the following in code between <head> tags of the html of the page: <meta name="referrer" content="never" /> This will not send referrer headers to third party websites.

#Reproduction Instructions / 1)Open your Store & add social media Links. 2)Click F1045363. 3)Now turn burp suite intercept on and click on Click on any social media link(on follow us section). Check for the requests having the Link in Referrer as third party website. And copy the Link. 4)Now turn intercept off and Open Link.(with that token) in other tab,browser or PC. 5)Now you you sucesfully catch/preview all action in your-store.myshopify.com from store owner without store password.

Preview all action/Login

#Proof of Concept F1045355 F1045356 F1045357 F1045358 F1045359 F1045360

#Additional Information: Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Impact

As you can see in the Referrer preview Link is getting leaked to third party sites. So, the person who has the complete control over that particular third party site can Use the Link to preview all action in your-store.myshopify.com from store owner without store password.

Attachments

01.PNG
01.PNG From the original on HackerOne
02.PNG
02.PNG
03.PNG
03.PNG
04.PNG
04.PNG
05.PNG
05.PNG
preview_Via_`Online_store`.PNG
preview_Via_`Online_store`.PNG

The original report as published on HackerOne, by danishalkatiri. 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

Root cause

Likely the application did not set a referrer policy, so the browser sent the full URL, including the preview token, in the Referer header to external sites.

Impact

A person who controls the third-party site could use the leaked preview link to preview all actions in the store without the store password.

What the attacker needed

Store owner clicks a social media link; attacker controls the third-party site

The fix

The report suggests adding a meta referrer tag with content 'never' to the page's head so that referrer headers are not sent to third-party websites.

How it was found

  1. Open your store and add social media links.
  2. Click the specified link (F1045363).
  3. Turn on Burp Suite interception and click a social media link; check the request's Referer header for the preview link and copy it.
  4. Turn off interception and open the copied link in another tab, browser, or computer.
  5. You can now preview all actions on the store without the store password.

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.

When you click a link to another website, your browser often sends the address of the page you came from in a header called Referer. Here, that address contained a special preview link for a Shopify store, which acts like a temporary password. If a third-party site receives that link, its owner can open it and see the store's preview without knowing the real password.

What is Info disclosure?

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

More by danishalkatiri

View all

3 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.