Race condition at create new Location
A race condition allowed a user to bypass the limit on the number of store locations by sending multiple requests simultaneously. An attacker could create more locations than their plan allowed.
- Triaged in 35 hours
- Fixed in 9 days
- Paid in 7 days
- Disclosed after 10 days
Summary by the program
@zhurig found a race condition where it was possible to bypass the limit for the number of locations a store can have by submitting multiple requests at once. We have resolved this issue by adding extra transactional locking during store location changes.
Note: Shopify no longer accepts reports regarding race conditions bypassing plan limits to this bug bounty program. Please make sure to check that your report has additional merchant impact beyond bypassing a plan limit before reporting.
The report
User can bypas restriction and create more ctore location, than maximum depends store plan. Intercept request and send it multiple at once. See screensots F350687 - requests F350688 - results I created 12 store location when 4 possible
Impact
Bypass the limitations of the billing plan
Attachments


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 limit check and location creation were not atomic, allowing concurrent requests to all pass the check before any creation completed.
Impact
An attacker could bypass the billing plan's location limit and create more locations than permitted.
What the attacker needed
A store account with a location limit
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 race condition happens when a system checks a limit but doesn't lock it, so sending many requests at the same time can slip past the check. Here, a store owner could create more locations than their plan allowed by firing off several requests at once.
What is Race condition?
Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.