Add new managed stores without permission
A staff member with permission to manage existing development stores could also create new managed stores, an action that should require a separate permission. This allowed them to perform an action beyond their intended privileges.
- Triaged in 4 days
- Fixed in 30 days
- Paid in 10 days
- Disclosed after 3 months
Details A staff member who has permission to add, archive and unarchive development stores as shown in managedStoreA.png can also add new managed stores. I can't tell if the issue I pointed out in #1167453 has the same root cause as this. A staff member with the said permission can access /organizationID/stores/create_managed_store endpoint as seen in managedStoreB.png. The POST request below can be used to reproduce the described issue.
POST /100808/stores/create_managed_store HTTP/1.1
Host: partners.shopify.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:86.0) Gecko/20100101 Firefox/86.0
Accept: application/json
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: https://partners.shopify.com/100808/stores/new?store_type=managed_store
Content-Type: application/json
X-Requested-With: XMLHttpRequest
X-CSRF-Token: ...
{"message":"","permissions":["applications","customers","dashboard","domains","draft_orders","edit_orders","gift_cards","links","locations","marketing","marketing_section","orders","overviews","pages","products","reports","themes","preferences","view_shopify_payments_payouts","view_billing_details","view_private_apps","edit_private_apps"],"store_domain":"myStore1","collaborator_access_code":""}
Impact
Staff member can perform action that requires permission
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 endpoint for creating managed stores did not enforce a separate permission check, relying only on the broader 'manage stores' permission.
Impact
A staff member could create new managed stores without having the specific permission to do so, potentially leading to unauthorised store creation.
What the attacker needed
Staff account with manage stores permission
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 user allowed to manage existing stores could also send a request to create a new managed store, which succeeded.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.