Skip to content
Access control Disclosed report Beginner

Blog posts atom feed of a store with password protection can be accessed by anyone

A password-protected Shopify store's blog and product data could be accessed via an exposed atom feed without authentication. An attacker could view this data by using a preview URL that did not properly validate its token.

xenx Follow

Originally disclosed on HackerOne

Medium 5.3 View original
  • Triaged in 3 days
  • Fixed in 24 days
  • Paid in 6 days
  • Disclosed after 4 months

Summary by the program

@xenx discovered a way of viewing the blog posts and product details of any online store which had a password page enabled. This was done without the need for any privileges by accessing an exposed atom feed which served blog and product data. The root cause of this was due to the fact that we were not validating the token included in the preview URL allowing for access to these resources. A change was shipped to properly validate the token in the preview URL.

The report

Hi shopify, ###DESCRIPTION I found a issue with blog posts atom feed of a shopify store. So without password we can't access the blog post atom feed at https://yourstore.myshopify.com/blogs/news.atom . But this can be bypass to access the atom feed of the blog posts. For example try out this. I have added two blog posts in my store which can't be access through https://testcheckagain.myshopify.com/blogs/news , it will just redirect you to password page or accessing atom feed give you 401 error at https://testcheckagain.myshopify.com/blogs/news.atom. But it can be bypassed to check it at https://dummytext2showpoc-55204085816.shopifypreview.com/blogs/news.atom . So preview link can be exploited to get the atom feed of blog posts of password protected store. It can't be exploited for a partner development store.

###STEPS

  1. Create a store at shopify.com
  2. Add a blog post and make it visible.
  3. If try to check the blog post atom feed in a different machine you will be thrown 401 error.
  4. To bypass this try this linkhttps://dummytext2showpoc-store_id.shopifypreview.com/blogs/news.atom.
  5. You can the access atom feed

Impact

Disclosing atom feed of blog posts of password protected store

The original report as published on HackerOne, by xenx. 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 preview URL's token was not validated, allowing access to the atom feed of a password-protected store.

Impact

An attacker could disclose the atom feed of blog posts and product details from a password-protected store, but this did not work for partner development stores.

What the attacker needed

A Shopify store with password protection enabled

The fix

A change was shipped to properly validate the token in the preview URL.

How it was found

  1. Create a store at shopify.com
  2. Add a blog post and make it visible
  3. Try to access the blog post atom feed from a different machine and get a 401 error
  4. Use the preview link with the store ID to access the atom feed

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 store owner can put a password on their shop to keep it private. However, the shop also had a special feed (like an RSS feed) that lists blog posts and products. The check that was supposed to stop people from seeing that feed was flawed, so anyone could read it by using a special preview link.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More by xenx

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.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.