Shopify Account Takeover via Email Verification Bypass | Bug Bou
A POS staff update endpoint allowed changing a staff member's email without confirmation, and the Shopify ID creation flow trusted an email's verified status from a different context. An attacker could chain these to take over any store whose owner had no Shopify ID, without victim interaction.
Published on nullsecurityx.medium.com
How chaining two low-friction bugs in Shopify’s POS system allowed a full account takeover of any store without a Shopify ID
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the POS endpoint failed to require email confirmation, and the Shopify ID flow reused a verified-email flag from an unrelated context without re-checking ownership.
Impact
Complete takeover of the victim's store, giving access to orders, customer data, payment settings, and connected apps, with no notification to the victim.
What the attacker needed
Victim store owner has no Shopify ID; attacker knows victim's store email; attacker has a Partner Dashboard account
How it was found
- Identify a store whose owner has no Shopify ID, using the store's email address.
- Create a development store in the Partner Dashboard with an email you control and click the activation link to mark it verified.
- Send a GraphQL mutation to the POS staff endpoint to change your staff profile's email to the victim's address.
- Start the Shopify ID creation flow from the store admin; the system sees the email as already verified and skips confirmation.
- Set a password for the new Shopify ID, which is now linked to the victim's store.
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 write-up has not been written yet. The Original tab links to the source.
This report describes two mistakes that, when combined, let an attacker take over a store. First, a system let someone change the email address on a staff account without sending a confirmation to the new address. Second, another system treated an email as 'already verified' just because it had been verified somewhere else, so the attacker could create a login for the victim's email and set their own password.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.