Privilege Escalation - A Low Privilege User who does not have access to the user management module can remove the owner of the business account
A low-privilege business user who was not supposed to access the user management module could still remove the owner of the business account. This allowed an unauthorised user to delete the account owner.
Originally disclosed on HackerOne
- Triaged in 12 days
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 11 months
Summary by the program
An unauthorised business user can remove the owner of the business account.
Summary by the researcher
Yelp Business had an option to invite other users to application and when the new user gets added to the business they can perform every functionality except access to the user management module which includes deleting the users.
There is a privilege escalation vulnerability allowing a low privilege user to remove the owner of the business.
Thanks to the Yelp team for looking into this submission.
What the report shows
Yelp Business lets an account owner invite other users into a business account. Once a new user is added, that user can perform every function in the application except one: the user management module, which is where users are deleted. The researcher found that this restriction can be bypassed, so a low privilege user can remove the owner of the business account.
The program's own summary states the outcome plainly: an unauthorised business user can remove the owner of the business account. The researcher describes the same result as a privilege escalation vulnerability allowing a low privilege user to remove the owner of the business.
The report does not include the request that performs the removal, the endpoint, the parameters, the account setup, or the exact sequence of steps. It also gives no fix details, no bounty amount and no CVSS score. What it does give is the boundary that was crossed: the user management module was meant to be off limits to the invited user, and the invited user got the owner removed anyway.
Root cause
The report does not state the cause; it only describes the outcome. The interface hides the user management module from low privilege users, but hiding a function in the UI is not an access control. The invited user's own membership of the business is enough to pass whatever check exists, and the owner is removed.
Either way, the decision is made on the wrong basis, and the low privilege user reaches an action reserved for the owner or an administrator.
Impact
The impact here is loss of control over the business account. The owner is the person who set the account up, and the report says a low privilege user can remove them. The report does not describe what happens after removal, so it is not possible to say from the text whether the attacker gains ownership, whether the account is left without an owner, or whether the owner can recover access. The severity assigned was low.
How this kind of bug works
Role based access control usually has two halves: the client hides controls the user should not use, and the server enforces the same rule on every request. Bugs of this class appear when only the first half is implemented, or when the server check is written against the wrong subject.
Typical causes:
- The endpoint is reachable by any authenticated member of the tenant, and the role check is missing entirely.
- The check tests whether the caller is a member of the business, not whether the caller may manage members.
- The check tests the caller's role against the target's role in the wrong direction, so a lower role can act on a higher one.
- The action is split across several requests, and only the first one is checked.
Defences are straightforward in principle: a single server-side authorisation decision per action, made on the caller's role, the target's role and the tenant, applied consistently to every route that mutates membership. Hiding UI elements is a usability measure, never a security control.
How to test for it
- Create two accounts in the same business: one owner and one invited user with the lowest role available. Note which functions the interface hides from the low privilege user.
- Capture the owner's requests for the restricted functions, especially member removal, role changes and invitations.
- Replay those requests with the low privilege user's session, keeping the same target identifiers. Vary the target: another low privilege user, an administrator, and the owner.
- Try the same action through alternate routes: different HTTP methods on the same path, batch or bulk endpoints, older API versions, and mobile or internal API hosts that may not share the same middleware.
- Watch for a positive result: a success status and a real state change, confirmed by reloading the member list as the owner.
Common false positives: the request returns 200 but nothing changes; the action only affects the caller's own membership; the low privilege user was in fact granted the permission by the test setup; or the change is visible only in a cached view.
How it is fixed
Enforce the permission on the server for every membership mutation: confirm the caller holds the role required to manage users, confirm the target belongs to the same business, and refuse the action when the target outranks the caller. Apply the same check to every route that reaches the action, including bulk and legacy endpoints. Return a generic authorisation error rather than a role-specific one, and log denied attempts so abuse is visible.
Hunting notes
Membership and role management is a good place to look because the rules are subtle and the state changes are easy to prove. Recon signals include multi-tenant applications with invitations, team or business accounts, and separate admin interfaces; API documentation that lists member endpoints; and mobile or internal hosts that mirror the web API. To make a report land, show the before and after state with the low privilege session, name the exact permission that should have blocked the action, and state the consequence for the account owner. Keep the test to accounts you created yourself.
What happened, in plain words
A business account can have several people in it. Yelp Business had an option to invite other users to the application. Think of it like a shared household: one person holds the keys and decides who else gets a key.
When a new user is invited and added to the business, they can use almost everything in the application. There is one exception: the user management module. That is the screen where the people in the account are managed, and it includes the ability to delete users. The invited user is not supposed to reach it.
The researcher found that this restriction can be bypassed. A low privilege user, meaning someone with few rights in the account, can remove the owner of the business account. The program's own summary says it plainly: an unauthorised business user can remove the owner of the business account. The researcher calls it a privilege escalation, which simply means getting to do something that your level of access should not allow.
The report does not include the request that performs the removal, the address (endpoint) it is sent to, the parameters, how the accounts were set up, or the exact sequence of steps. It also gives no fix details, no bounty amount and no CVSS score. What it does give is the boundary that was crossed: the user management module was meant to be off limits to the invited user, and the invited user got the owner removed anyway.
Root cause
The report does not state the cause; it only describes the outcome. Authorisation is the server deciding whether the person making a request is allowed to do what they are asking. It is different from authentication, which is only about proving who you are.
The interface hides the user management module from low privilege users. But hiding a button in a web page is not an access control. A web page is just text and pictures drawn by your browser; anyone can send a request to the server directly, without ever clicking the hidden button. The server has to make the decision itself, every time.
The invited user's own membership of the business is enough to pass whatever check exists, and the owner is removed.
Either way, the decision is made on the wrong basis, and the low privilege user reaches an action reserved for the owner or an administrator.
Impact
The impact here is loss of control over the business account. The owner is the person who set the account up, and the report says a low privilege user can remove them. The report does not describe what happens after removal, so it is not possible to say from the text whether the attacker gains ownership, whether the account is left without an owner, or whether the owner can recover access. The severity assigned was low.
In general, how this kind of bug works
Role based access control usually has two halves: the client hides controls the user should not use, and the server enforces the same rule on every request. Bugs of this class appear when only the first half is implemented, or when the server check is written against the wrong subject.
Typical causes:
- The endpoint is reachable by any authenticated member of the tenant, and the role check is missing entirely.
- The check tests whether the caller is a member of the business, not whether the caller may manage members.
- The check tests the caller's role against the target's role in the wrong direction, so a lower role can act on a higher one.
- The action is split across several requests, and only the first one is checked.
Defences are straightforward in principle: a single server-side authorisation decision per action, made on the caller's role, the target's role and the tenant, applied consistently to every route that mutates membership. Hiding UI elements is a usability measure, never a security control.
In general, how to test for it
- Create two accounts in the same business: one owner and one invited user with the lowest role available. Note which functions the interface hides from the low privilege user.
- Capture the owner's requests for the restricted functions, especially member removal, role changes and invitations.
- Replay those requests with the low privilege user's session, keeping the same target identifiers. Vary the target: another low privilege user, an administrator, and the owner.
- Try the same action through alternate routes: different HTTP methods on the same path, batch or bulk endpoints, older API versions, and mobile or internal API hosts that may not share the same middleware.
- Watch for a positive result: a success status and a real state change, confirmed by reloading the member list as the owner.
Common false positives: the request returns 200 but nothing changes; the action only affects the caller's own membership; the low privilege user was in fact granted the permission by the test setup; or the change is visible only in a cached view.
In general, how it is fixed
Enforce the permission on the server for every membership mutation: confirm the caller holds the role required to manage users, confirm the target belongs to the same business, and refuse the action when the target outranks the caller. Apply the same check to every route that reaches the action, including bulk and legacy endpoints. Return a generic authorisation error rather than a role-specific one, and log denied attempts so abuse is visible.
In general, where to look
Membership and role management is a good place to look because the rules are subtle and the state changes are easy to prove. Recon signals include multi-tenant applications with invitations, team or business accounts, and separate admin interfaces; API documentation that lists member endpoints; and mobile or internal hosts that mirror the web API. To make a report land, show the before and after state with the low privilege session, name the exact permission that should have blocked the action, and state the consequence for the account owner. Keep the test to accounts you created yourself.
Glossary
- Business account: a Yelp account that represents a company and can hold several users.
- Owner: the person who set up the business account.
- Invited user: someone added to a business account by an existing member.
- Low privilege user: a user with few rights, here someone who should not manage other users.
- User management module: the part of the application where the people in an account are managed, including deleting them.
- Privilege escalation: doing something that your level of access should not allow.
- Authentication: proving who you are, for example by logging in.
- Authorisation: the server deciding whether you are allowed to perform the action you requested.
- Access control: the rules that decide who may do what.
- Role based access control: access control where permissions are attached to roles such as owner or member.
- Endpoint: the address a request is sent to on a server.
- Request: a message your browser sends to a server asking it to do something.
- Parameter: a named value sent with a request, such as an identifier.
- Session: the server's record that a series of requests come from the same logged-in user.
- Tenant: one isolated customer space in a shared application, here one business account.
- Server-side check: a decision made by the server, which the user cannot bypass by editing the page.
- HTTP method: the verb of a request, such as GET or POST, saying what kind of action is wanted.
- Bulk endpoint: an endpoint that performs an action on several items in one request.
- Middleware: shared code that every request passes through, often where checks are applied.
- False positive: a test result that looks like a bug but is not one.
- CVSS: a standard score for how severe a vulnerability is.
- Severity: the rating given to a vulnerability, here low.