[h1-2102] shopApps query from the graphql at /users/api returns all existing created apps, including private ones
The shopApps GraphQL query on the users API returned all apps, including private ones, to an authenticated admin. An attacker with admin access could enumerate private app details such as handles and client IDs.
Originally disclosed on HackerOne
- Triaged in 5 days
- Fixed in 2 months
- Paid in 9 days
- Disclosed after 18 months
Summary:
I have seen that there is query called shopApps executable on the /[ID]/users/api graphql that returns a huge amount of apps (it timeouts with a limiting). In the response I have noticed the returned apps also include the private apps, so I do not think that this is intented like this. Using this method, one can grab all the apps, including private ones from shopify.
Steps To Reproduce:
- Login to shopify.plus as the admin
- Go to users, monitor the request and send the POST made to
/[ID]/users/apito repeater - Change the body with this one :
{"query":"query xxx { shopApps(first:10000) { edges { node { id isPrivate handle name title shopifyApiClientId } } } }"}
In the response, if you search for "isPrivate":true you will see also private apps.
Supporting Material/References:
Screenshots attached
Impact
One can grab all the shopify apps, including the private ones that I assume are not meant to be accessible.
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 shopApps GraphQL resolver did not filter results by the requesting user's permissions, returning private apps alongside public ones.
Impact
An authenticated admin could retrieve details of all Shopify apps, including private ones that were assumed not to be accessible.
What the attacker needed
Admin access to Shopify Plus
How it was found
- Log in to Shopify Plus as an admin.
- Go to the users page and capture the POST request to the users API endpoint.
- Send the request to a repeater tool and replace the body with a shopApps GraphQL query requesting many apps and private fields.
- Search the response for private apps to confirm they are included.
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 GraphQL query is a way to ask a server for specific data. Here, a query meant to list apps also returned private apps that should have been hidden, so someone with admin login could see information about apps they should not access.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.