Skip to content
Business logic Disclosed report Intermediate

Password protection can be removed for newly created development store

A newly created development store is supposed to keep its password page until it is transferred or moved to a paid plan, but the GraphQL PreferencesSave operation still accepts a change that turns password protection off. An attacker with access to the store admin could make the store publicly reachable without the intended password.

imgnotfound Follow

Originally disclosed on HackerOne

  • Triaged in 41 hours
  • Fixed in 9 days
  • Paid in 45 hours
  • Disclosed after 22 days

Details

Per https://help.shopify.com/en/partners/dashboard/managing-stores/development-stores#the-development-store-password-page, it states that the password can only be removed once the store has been transferred or switch to a paid plan.

You can remove the password page only after you transfer the store to a merchant or switch the store to a paid plan.

However, it is still possible to remove the password by using the GraphQL PreferencesSave operation.

Steps to reproduce

  1. Create a development store using a partner account
  2. From that shop admin, go to Online Store > Preferences
  3. Make any change to the page and intercept the request
  4. Update the passwordProtection.enabled property to false

The store is now paswordless.

Demo

████

Impact

Disable development store password

The original report as published on HackerOne, by imgnotfound. 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 PreferencesSave GraphQL operation does not enforce the rule that password protection can only be disabled after transfer or a paid plan.

Impact

The development store's password page can be removed, making the store reachable without the intended password.

What the attacker needed

A partner account; a newly created development store; access to the store admin

The fix

The PreferencesSave operation should enforce the documented password-protection rule.

How it was found

  1. Create a development store using a partner account
  2. Open Online Store > Preferences in the shop admin
  3. Make a change to the page and intercept the request
  4. Change the passwordProtection.enabled property to false

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 development store is a free practice shop that Shopify keeps behind a password page so only the owner can see it. The report says the shop's settings request still lets someone switch that password off, even though the rules say it should stay on until the shop is transferred or paid for. So the protection can be bypassed by editing the settings request.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by imgnotfound

View all

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

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.