Skip to content
Race condition Disclosed report Intermediate

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.

zhurig Follow

Originally disclosed on HackerOne

Bounty$500 Low View original
  • 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

Requests.png
Requests.png From the original on HackerOne
result.png
result.png

The original report as published on HackerOne, by zhurig. 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 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.

More by zhurig

View all

1 more disclosed report, 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.

Race conditions

The lesson behind this report.

Parallel requests reach a state the code assumed could not happen: a coupon used twice, a limit overrun, a check skipped.