Missing authorization check on dashboard overviews
A missing cookie-based authorization check on dashboard overview endpoints let users with limited privileges view parts of the Home screen and channel Overviews they were not permitted to access. A malicious store user could allegedly view or edit sensitive store dashboard views.
Originally disclosed on HackerOne
- Triaged in 8 days
- Fixed in 24 days
- Paid in 28 days
- Disclosed after 28 days
Summary by the program
Users with access to view each channel's Overview could view parts of the Home screen, and vice versa. We fixed the issue by correctly checking for each permissions separately on the relevant endpoints.
Summary by the researcher
This was a missing cookie based authorization check which allowed users with limited privileges to allegedly access the sensitive store information while having disallowed by the Administrator to do so. Using this attack a malicious store user could view/edit the store dashboard views
What the report shows
The target was Shopify, and the feature in question was the store dashboard: the Home screen and the per-channel Overview screens. The report is short, and both sides describe it in a few sentences.
According to the researcher, the bug was a missing cookie based authorization check. A user with limited privileges could, in the researcher's words, "allegedly access the sensitive store information while having disallowed by the Administrator to do so". Through this attack, a malicious store user could view and edit the store dashboard views.
The program's summary frames the same issue in terms of two separate permissions. Users who had access to view each channel's Overview could view parts of the Home screen, and users with access to the Home screen could view parts of a channel's Overview. In other words, the two areas were not isolated from each other: holding one permission was enough to reach content that belonged to the other.
The report was disclosed on 10 November 2015 and a bounty of 500.00 USD was paid. The platform classifies the weakness as privilege escalation. No severity score is given, and the report contains no requests, payloads, endpoint names, parameter names, headers or response excerpts, so there is nothing further to reproduce here.
Root cause
The mistake the report points to is an authorization check that was either absent or too coarse on the dashboard endpoints. The program's own wording, that permissions are now checked "separately on the relevant endpoints", implies that the endpoints previously treated access to the dashboard as a single decision rather than as a set of distinct permissions. A user authorised for one view (a channel Overview) was therefore not stopped from loading data belonging to another view (the Home screen), and the reverse.
The researcher describes the check as cookie based, without explaining the mechanism. The report does not show the code or the exact check that failed, so the precise mechanism is not demonstrated. The report does not show the code or the exact check that failed, so the precise mechanism is inferred rather than demonstrated.
Impact
Within the report's own hedges, the impact is that a store user with limited privileges could view and edit dashboard views that the Administrator had not granted them. The researcher uses "allegedly" when describing access to sensitive store information, so the report does not quantify what data was exposed or confirm every claimed capability. The program confirms users could view parts of the other screen in both directions, and the researcher claims an editing capability.
The practical significance is privilege escalation inside a store: a limited user could reach content reserved for another permission.
How this kind of bug works
This is a missing function level authorization flaw, sometimes called vertical or horizontal privilege escalation depending on whether the attacker moves to a higher role or sideways to a peer. The mechanism is simple: an endpoint performs an action or returns data, and the server decides whether the caller may do so. When that decision is missing, or is made once for a whole area instead of per action, any authenticated user who can reach the endpoint gets the full result.
It happens for predictable reasons. Permissions are often enforced in the interface, where buttons and menu items are hidden from users who lack a role, while the underlying endpoints remain reachable by anyone who knows or guesses them. Frameworks make it easy to attach authentication middleware to a route group and forget that authentication (who you are) is not authorization (what you may do). Features added later, such as a new dashboard view, may reuse an existing route group and inherit its weaker check. And when several permissions map onto overlapping screens, as with a Home screen and per-channel Overviews, a single coarse check lets one permission leak into the other's territory.
The defences are explicit per-endpoint authorization, ideally enforced centrally so a new route cannot be added without a permission declaration, plus tests that exercise each role against each endpoint and assert denial.
How to test for it
- Map the roles. Create at least two accounts in the target application: a high-privileged one and a low-privileged one. Record exactly which features the low-privileged account is offered in the interface.
- Capture traffic from the high-privileged account while using the features the low-privileged account cannot see. Note every endpoint, method and parameter involved, including background requests the interface makes on page load.
- Replay those requests with the low-privileged account's session cookie, changing only the credential. Send them unchanged first, then with identifiers belonging to the other account or store where the endpoint takes them.
- Compare responses. A positive result is a successful response carrying data or performing an action the low-privileged role should not reach: a populated JSON body, a 200 where the interface would have blocked the action, or a state change visible when you log back in as the privileged user. A 403 or a redirect to a login or error page is a negative result.
- Test the reverse direction too. If two permissions exist, check whether each one grants access to the other's endpoints, as happened here between the Home screen and channel Overviews.
Common false positives: the endpoint returns 200 but with an empty body or a generic error object; the data returned is public or belongs to the same tenant the low-privileged user legitimately shares; the action is accepted but silently discarded server-side; or the interface hides a feature that the role is in fact permitted to use, which is a design choice rather than a vulnerability. Confirm the effect by observing real data or a real state change, not just a status code.
How it is fixed
The standard fix is to enforce authorization on the server for every endpoint, checking the specific permission the action requires rather than a general "is logged in" or "is a store user" condition. Where several permissions overlap, each is checked separately on the endpoints that serve it, which is what the program describes doing here. Authorization logic should live in one place, such as middleware or a policy layer, so that new routes cannot be added without a permission decision, and it should be covered by tests that assert denial for each role and endpoint combination.
Hunting notes
This bug class hides wherever an application has more than one role or more than one permission scope: admin panels, team and staff management, multi-tenant dashboards, reporting and export endpoints, and any feature split into per-object views. Newly added screens are worth attention because they often reuse existing route groups and inherit whatever check those groups had.
Useful recon signals include role and permission names appearing in API responses or client-side configuration, endpoints whose paths suggest an administrative area, and interface elements that are hidden rather than absent for low-privileged users. Comparing the request sets of two accounts with different roles is the most reliable way to find the endpoints worth replaying.
What happened, in plain words
Shopify is a platform that lets people run online shops. Each shop has a dashboard: a set of screens where the owner and their staff manage the store. Two of those screens matter here: the Home screen (the main landing view of the dashboard) and the Overview screen for each sales channel (a channel is a place a shop sells through, such as an online storefront or a marketplace).
A shop can have several people working in it, and the owner (the Administrator) decides what each person is allowed to see and do. That is what permissions are: a list of which features each account may use. The whole point of permissions is that someone trusted with one part of the dashboard should not automatically get the rest.
This report is about a gap in that separation. According to the researcher, the bug was a missing cookie based authorization check. Two of those words need unpacking.
- A cookie is a small piece of data your browser stores for a website and sends back with every request to it. On a logged-in site, one of those cookies is the session cookie: it identifies you, so the server knows which account is making the request without asking for a password each time.
- Authorization is the decision about what a known user is allowed to do. It is different from authentication, which is only about who you are. Logging in proves your identity; authorization decides what that identity may reach.
So a cookie based authorization check means: the server looks at the session cookie, works out who you are, and then checks whether your account holds the permission the requested screen needs. The researcher says that check was missing.
The result, in the researcher's words, was that a limited user could "allegedly access the sensitive store information while having disallowed by the Administrator to do so". Through this attack, a malicious store user could view and edit the store dashboard views. The word "allegedly" is the researcher being careful: the report does not spell out exactly which pieces of data were exposed.
The program's own summary describes the same problem from the other side, as two permissions that were not kept apart. Users who had access to view each channel's Overview could view parts of the Home screen, and users with access to the Home screen could view parts of a channel's Overview. Think of two rooms in an office, each with its own key: holding the key to one room should not open the other, but here it did, in both directions.
The program fixed it by checking each permission separately on the relevant endpoints. An endpoint is a specific address on a server that a page or app calls to get data or perform an action; each screen in a dashboard typically talks to one or more of them in the background. The fix means each endpoint now checks the specific permission it serves.
The report was disclosed on 10 November 2015 and a bounty of 500.00 USD was paid. The platform classifies the weakness as privilege escalation: a user reaching capabilities beyond what their account was granted. No severity score is given, and the report contains no requests, payloads, endpoint names, parameters, headers or response excerpts, so there is nothing to reproduce line by line here.
Why it matters
The impact sits inside a shop with several users: a limited user could reach content reserved for another permission. The program confirms users could view parts of the other screen in both directions. The researcher also claims an editing capability, which would make it an integrity problem too, since data could be changed rather than just read.
The root cause
The mistake is an authorization check that was either absent or too coarse on the dashboard endpoints. The program's wording, that permissions are now checked "separately on the relevant endpoints", suggests the endpoints previously treated access to the dashboard as one single decision instead of a set of distinct permissions. A user authorised for one view was therefore not stopped from loading data belonging to another, and the reverse.
The report does not show the code or the exact check that failed, so the precise mechanism is not demonstrated. The report does not show the code or the exact check that failed, so the precise mechanism is inferred rather than demonstrated.
In general, how this kind of bug works
This is a missing function level authorization flaw, sometimes called vertical or horizontal privilege escalation depending on whether the attacker moves up to a higher role or sideways to a peer. The mechanism is simple: an endpoint performs an action or returns data, and the server decides whether the caller may do so. When that decision is missing, or is made once for a whole area instead of per action, any logged-in user who can reach the endpoint gets the full result.
It happens for predictable reasons. Permissions are often enforced in the interface, where buttons and menu items are hidden from users who lack a role, while the underlying endpoints stay reachable by anyone who knows or guesses them. Hiding a button is like removing a door handle but leaving the doorway open. Frameworks also make it easy to attach a login check to a group of routes and forget that authentication (who you are) is not authorization (what you may do). Features added later, such as a new dashboard view, may reuse an existing route group and inherit its weaker check. And when several permissions map onto overlapping screens, as with a Home screen and per-channel Overviews, a single coarse check lets one permission leak into the other's territory.
The defences are explicit per-endpoint authorization, ideally enforced centrally so a new route cannot be added without a permission declaration, plus tests that exercise each role against each endpoint and assert denial.
How to test for it
- Map the roles. Create at least two accounts in the target application: a high-privileged one and a low-privileged one. Record exactly which features the low-privileged account is offered in the interface.
- Capture traffic from the high-privileged account while using the features the low-privileged account cannot see. Note every endpoint, method and parameter involved, including background requests the interface makes on page load.
- Replay those requests with the low-privileged account's session cookie, changing only the credential. Send them unchanged first, then with identifiers belonging to the other account or store where the endpoint takes them.
- Compare responses. A positive result is a successful response carrying data or performing an action the low-privileged role should not reach: a populated JSON body, a 200 where the interface would have blocked the action, or a state change visible when you log back in as the privileged user. A 403 or a redirect to a login or error page is a negative result.
- Test the reverse direction too. If two permissions exist, check whether each one grants access to the other's endpoints, as happened here between the Home screen and channel Overviews.
Common false positives: the endpoint returns 200 but with an empty body or a generic error object; the data returned is public or belongs to the same tenant the low-privileged user legitimately shares; the action is accepted but silently discarded server-side; or the interface hides a feature that the role is in fact permitted to use, which is a design choice rather than a vulnerability. Confirm the effect by observing real data or a real state change, not just a status code.
How it is fixed
The standard fix is to enforce authorization on the server for every endpoint, checking the specific permission the action requires rather than a general "is logged in" or "is a store user" condition. Where several permissions overlap, each is checked separately on the endpoints that serve it, which is what the program describes doing here. Authorization logic should live in one place, such as middleware or a policy layer, so that new routes cannot be added without a permission decision, and it should be covered by tests that assert denial for each role and endpoint combination.
Hunting notes
This bug class hides wherever an application has more than one role or more than one permission scope: admin panels, team and staff management, multi-tenant dashboards, reporting and export endpoints, and any feature split into per-object views. Newly added screens are worth attention because they often reuse existing route groups and inherit whatever check those groups had.
Useful recon signals include role and permission names appearing in API responses or client-side configuration, endpoints whose paths suggest an administrative area, and interface elements that are hidden rather than absent for low-privileged users. Comparing the request sets of two accounts with different roles is the most reliable way to find the endpoints worth replaying.
Glossary
- Authentication: proving who you are, usually by logging in.
- Authorization: deciding what a known user is allowed to do.
- Bounty: a payment made by a company to someone who reports a valid security bug.
- Channel: in Shopify, a place a shop sells through, such as an online storefront or a marketplace.
- Cookie: a small piece of data a browser stores for a site and sends back with each request to it.
- Dashboard: the set of screens where a shop's owner and staff manage the store.
- Endpoint: a specific address on a server that a page or app calls to fetch data or perform an action.
- False positive: a result that looks like a vulnerability but is not one.
- Header: extra information sent alongside a request or response, such as the type of content expected.
- Integrity: the property that data cannot be changed by someone not allowed to change it.
- Confidentiality: the property that data is only visible to those allowed to see it.
- Middleware: code that runs on every request before the main handler, often used for shared checks such as login.
- Missing function level authorization: a flaw where an endpoint does not check whether the caller holds the permission the action requires.
- Multi-tenant: a system where many separate customers share the same application and infrastructure.
- Parameter: a named value sent with a request, such as an identifier telling the server which record to return.
- Payload: the data sent in a request, or the part of an attack that carries the effect.
- Permission: a grant that lets an account use a particular feature or reach particular data.
- Privilege escalation: reaching capabilities beyond those granted to your account, either upwards to a higher role or sideways to a peer.
- Replay: sending a captured request again, possibly with a different credential.
- Request: a message a browser or app sends to a server asking for data or an action.
- Response: the server's reply to a request, containing data, a status code, or both.
- Role: a named set of permissions, such as Administrator or staff member.
- Route group: a set of endpoints handled together, often sharing the same checks.
- Session cookie: the cookie that identifies your logged-in session to the server.
- Status code: a number in a response saying how the request went, such as 200 for success or 403 for forbidden.
- Tenant: one customer's separate space inside a shared multi-tenant system.
- Token: a value used to prove identity or permission, often sent with requests.
- Vertical / horizontal privilege escalation: moving up to a more powerful role, or sideways to a peer with different rights.