[h1-2102] shopApps query from the graphql at /users/api returns all existing created apps, including private ones

Disclosed: 2022-07-15 08:23:26 By inhibitor181 To shopify
Medium
Vulnerability Details
## 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: 1. Login to shopify.plus as the admin 2. Go to users, monitor the request and send the POST made to `/[ID]/users/api` to repeater 3. 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.
Actions
View on HackerOne
Report Stats
  • Report ID: 1085332
  • State: Closed
  • Substate: resolved
  • Upvotes: 32
Share this report