Unauthorized access to all collections, products, pages from other stores
A user from one store could change the subject identifier in a link list to reference an object belonging to another store, and the application would display that object's name. This allowed discovery of the names of hidden collections, products, and pages from other stores, though no other information was exposed and the owner store could not be identified.
Originally disclosed on HackerOne
- Triaged in 17 hours
- Fixed in 6 days
- Paid in 6 days
- Disclosed after 6 days
Summary by the program
This bug allowed users from one store to read the name of collections, products and pages from other stores. It would have allowed anyone to discover the name of hidden collections, products and pages from other stores, but not retrieve any other information about the collection, product or page, and it would not have allowed the user to determine which store it belongs to.
The report
Hi
I found a vulnerability in shopify that can leak other shops hidden objects include collection,product,page,blog
steps:
- go to "/admin/link_lists"
- click on "add link list"
- select one object from list for example collection
- open "Inspect Element"
- change value of element "link_list[links][][subject_id]" to any id from other shops
- click on save then when page reloaded you will see data in box
this works for hidden collection, products, pages
Regards
What the report shows
The target is Shopify's admin interface, specifically the link list feature. A link list is a named set of links that a merchant builds in the admin, and each link can point at an object in the store, such as a collection, a product, a page or a blog. The researcher found that a link list saved with an object id from another shop displayed that object's data.
The steps in the report are:
- Go to
/admin/link_lists. - Click on "add link list".
- Select one object from the list, for example a collection.
- Open "Inspect Element".
- Change the value of the element
link_list[links][][subject_id]to any id from another shop. - Click save, and when the page reloads the data appears in the box.
The parameter name is the only payload detail given:
link_list[links][][subject_id]
The researcher states that this works for hidden collections, products and pages, and the summary adds blogs to the list of object types. The program's summary is careful about the limits: a user from one store could read the name of collections, products and pages belonging to other stores. That would let anyone discover the name of hidden collections, products and pages, but not retrieve any other information about them, and it would not let the user determine which store an object belongs to.
The text does not describe the fix.
Root cause
A likely cause is that the server trusted the subject_id submitted in the link list form without confirming that it belonged to the current store. The admin UI only offers objects from the merchant's own store, so the identifier is normally correct, but the server accepted any value the client sent. The interface only offers objects from the merchant's own store, but the server accepted an identifier from another shop.
Impact
The impact is limited to disclosure of object names. A user with a store account could substitute an identifier and learn the name of a hidden collection, product or page in another store. The program explicitly notes that no other information about the object could be retrieved and that the attacker could not tell which store an object belonged to. That last point matters: the leak reveals that some object with a given name exists somewhere on the platform, but not where. The practical value is in discovering the names of hidden items, which may themselves be sensitive.
How this kind of bug works
This is an insecure direct object reference, a form of broken object-level authorisation. Multi-tenant applications store many customers' records in shared tables and distinguish them by an owner column, here effectively the store. Every request that reads or writes a record must scope the query to the caller's tenant. The bug appears when code fetches a record by its primary key alone, for example a lookup by identifier, and then returns or links it without comparing the owner to the session's tenant.
It happens for predictable reasons. The UI only ever submits identifiers the user is allowed to see, so developers test the happy path and never see a foreign identifier. Framework helpers that fetch by primary key make the unscoped lookup the path of least resistance. Nested form parameters such as link_list[links][][subject_id] are assembled client-side and are easy to tamper with, and validation often checks only that the value is a valid integer or that the record exists, not who owns it.
The defences are ownership scoping on every query (fetch through the current tenant's association rather than a global lookup), server-side validation that the referenced object belongs to the session's store, and denying by default when the check cannot be made. Tests should include cross-tenant identifiers as a matter of course.
How to test for it
Look for features where one object references another: link lists, menus, related products, collections, featured items, tags, saved filters, templates and import or export tools. These forms carry identifiers for the referenced objects, often in nested parameter names.
- Create two accounts or stores, A and B, and note identifiers of objects in B, including objects that are hidden or unpublished.
- In A, exercise the feature that references objects and capture the save request.
- Replace the identifier with one from B, keeping everything else valid, and submit.
- Reload the page and inspect the rendered result, then check any read endpoint that returns the reference.
A positive result is that the response or the reloaded page shows data from B, such as the name of B's object, where A should only ever see its own. Confirm the leak is real by checking that the value is not simply echoed back from your own input and that it corresponds to an object you created in B.
Common false positives: the identifier is accepted but the object is silently replaced with a null or a default; the name shown is your own object because the save failed; the value is reflected from the request without a lookup; or the object is genuinely public and visible to everyone. Also rule out caching and stale pages by repeating the request cleanly.
How it is fixed
Scope every lookup to the authenticated tenant, for example by loading the referenced object through the current store's association so a foreign identifier simply does not resolve. Validate submitted identifiers server-side against the set of objects the caller may reference, and reject anything else with a generic error. Apply the same check on read paths that render the reference, not only on save. Add regression tests that submit cross-tenant identifiers and assert that they are refused.
Hunting notes
This class hides wherever identifiers from one tenant are accepted by another tenant's request: nested form parameters, JSON bodies, query strings and hidden fields. Recon signals include parameter names that end in _id or subject_id, forms that populate select boxes from an API, and features that let users curate or reference content. Multi-tenant SaaS admin panels are the classic home.
What happened, in plain words
Shopify is a platform that lets anyone run an online shop. Each shop is a separate "store" on the same platform, and each store has an admin area where the owner manages things like products, collections (groups of products), pages and blogs. A collection is simply a named group of products, a page is a piece of content such as an "About us" page, and a blog is a set of articles. Some of these objects can be hidden or unpublished, meaning shoppers cannot see them yet.
The feature at the centre of this report is the link list. A link list is a named set of links that a merchant builds in the admin, and each link can point at an object in the store, such as a collection, a product, a page or a blog. Think of it like a menu in a restaurant: you give the menu a name and list the dishes on it, and each entry points at a dish.
The researcher found that a link list saved with an object id from another shop displayed that object's data. The admin interface only ever offers objects from the merchant's own store, so in normal use the identifier is always correct. But the server accepted an identifier belonging to a different store.
The steps in the report are:
- Go to
/admin/link_lists. - Click on "add link list".
- Select one object from the list, for example a collection.
- Open "Inspect Element".
- Change the value of the element
link_list[links][][subject_id]to any id from another shop. - Click save, and when the page reloads the data appears in the box.
Step 4 matters because "Inspect Element" is a browser tool that shows the underlying HTML of a page. It lets anyone see and edit the form fields the browser is about to submit, so the value the server receives is not necessarily the value the interface offered. Step 5 is the actual attack: the field name is the only payload detail given in the report, and it looks like this:
link_list[links][][subject_id]
Read it piece by piece. link_list is the form, links is the list of links inside it, the empty [] means "one entry in that list", and subject_id is the identifier of the object the link points at. An identifier (often called an ID) is a number or string that uniquely names a record in a database, like a student number. By swapping that number for one from another shop, the researcher asked the server to link to someone else's object.
The researcher states that this works for hidden collections, products and pages, and the program summary adds blogs to the list of object types. The program's summary is careful about the limits: a user from one store could read the name of collections, products and pages belonging to other stores. That would let anyone discover the name of hidden collections, products and pages, but not retrieve any other information about them, and it would not let the user determine which store an object belongs to.
The text does not describe the fix.
In general, how this kind of bug works
This is an insecure direct object reference, a form of broken object-level authorisation. The words sound heavy, so take them apart. Authorisation is the question "are you allowed to do this?", as opposed to authentication, which is the question "who are you?". A multi-tenant application is one system that serves many separate customers from shared storage, like an apartment building where every flat has its own door but they all sit in one structure. Each record in the database carries an owner column, here effectively the store, and every request that reads or writes a record must be limited to the caller's own tenant.
The bug appears when code fetches a record by its identifier alone and then returns or links it without comparing the owner to the session's tenant. It happens for predictable reasons. The interface only ever submits identifiers the user is allowed to see, so developers test the normal path and never see a foreign identifier. Framework helpers that fetch by identifier make the unscoped lookup the easiest thing to write. Nested form parameters such as link_list[links][][subject_id] are assembled in the browser and are easy to tamper with, and validation often checks only that the value is a valid number or that the record exists, not who owns it.
The defences are ownership scoping on every query (fetch through the current tenant's association rather than a global lookup), server-side validation that the referenced object belongs to the session's store, and denying by default when the check cannot be made. Tests should include cross-tenant identifiers as a matter of course.
To test for it, look for features where one object references another: link lists, menus, related products, collections, featured items, tags, saved filters, templates and import or export tools. These forms carry identifiers for the referenced objects, often in nested parameter names.
- Create two accounts or stores, A and B, and note identifiers of objects in B, including objects that are hidden or unpublished.
- In A, use the feature that references objects and capture the save request.
- Replace the identifier with one from B, keeping everything else valid, and submit.
- Reload the page and inspect the result, then check any read endpoint that returns the reference.
A positive result is that the response or the reloaded page shows data from B, such as the name of B's object, where A should only ever see its own. Confirm the leak is real by checking that the value is not simply echoed back from your own input and that it corresponds to an object you created in B.
Common false positives: the identifier is accepted but the object is silently replaced with a null or a default; the name shown is your own object because the save failed; the value is reflected from the request without a lookup; or the object is genuinely public and visible to everyone. Also rule out caching and stale pages by repeating the request cleanly.
The fix is to scope every lookup to the authenticated tenant, for example by loading the referenced object through the current store's association so a foreign identifier simply does not resolve. Validate submitted identifiers server-side against the set of objects the caller may reference, and reject anything else with a generic error. Apply the same check on read paths that render the reference, not only on save. Add regression tests that submit cross-tenant identifiers and assert that they are refused.
This class hides wherever identifiers from one tenant are accepted by another tenant's request: nested form parameters, JSON bodies, query strings and hidden fields. Recon signals include parameter names that end in _id or subject_id, forms that populate select boxes from an API, and features that let users curate or reference content. Multi-tenant SaaS admin panels are the classic home.
Glossary
- Shopify: a platform for running online shops, where each shop is a separate store.
- Store: one merchant's shop on the platform.
- Admin interface: the private area where a merchant manages their store.
- Collection: a named group of products.
- Page: a piece of content in a store, such as an "About us" page.
- Blog: a set of articles in a store.
- Link list: a named set of links in the admin, where each link can point at an object in the store.
- Identifier (ID): a number or string that uniquely names a record in a database.
- Inspect Element: a browser tool that shows and lets you edit the HTML of a page, including form fields.
- Parameter: a named value sent in a request, such as
subject_id. - Request: the message a browser sends to a server asking it to do something.
- Server: the computer that receives requests and returns responses.
- Authentication: proving who you are.
- Authorisation: deciding whether you are allowed to do something.
- Improper authentication: a weakness where identity or permission checks are missing or wrong.
- Insecure direct object reference: a bug where a record is fetched by its identifier without checking the caller owns it.
- Broken object-level authorisation: the broader name for missing ownership checks on individual records.
- Multi-tenant application: one system serving many separate customers from shared storage.
- Tenant: one customer's isolated space inside a multi-tenant application, here a store.
- Ownership scoping: limiting every query to the caller's own tenant.
- Bounty: a payment made by a program for a valid security report.
- CVSS: a standard scoring system for the severity of a vulnerability.
- False positive: a finding that looks like a bug but is not.
- Regression test: an automated test that checks a fixed bug stays fixed.