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.
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
- Create a development store using a partner account
- From that shop admin, go to Online Store > Preferences
- Make any change to the page and intercept the request
- Update the
passwordProtection.enabledproperty tofalse
The store is now paswordless.
Demo
████
Impact
Disable development store password
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
- Create a development store using a partner account
- Open Online Store > Preferences in the shop admin
- Make a change to the page and intercept the request
- 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.