Privilege Escalation (Viewer → Owner) — Bypass of Their F
A startup funding platform let a low-privilege Viewer join a team as Owner by intercepting the invitation response and swapping the invited email for their own, because the backend trusted frontend checks. After the fix, an Editor's invite request still returned all pending invitations, including Owner invite hashes, allowing the fix to be bypassed.
Published on medium.com
A privilege escalation vulnerability is a security flaw that allows a user to gain higher permissions than they are supposed to have. In other words, it lets someone with limited access perform actions meant for higher-level users, like administrators or owners, potentially giving unauthorized control over data…
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the server trusted client-side checks and never verified that the invitation token matched the logged-in user's email and intended role, and the fix filtered invitations only in the UI rather than in the API response.
Impact
An attacker with only Viewer access could become Owner, remove the real Owner and take over the company; after the fix, an Editor could still extract Owner invite hashes from API responses.
What the attacker needed
A low-privilege account on the platform; a pending Owner invitation exists; ability to intercept HTTP responses
The fix
The invitation token should be validated server-side against the logged-in user's email and intended role, and API responses should only return invitations the caller is allowed to see.
How it was found
- Notice that a pending Owner invitation link still exists while logged in as a Viewer.
- Try to open the invitation link and get blocked because the invited account is required.
- Intercept the invitation request and stop the response.
- Change the invited email in the response to the attacker's own registered email.
- Continue the flow and get added to the team as Owner.
- After the fix, send an invite as an Editor and observe that the response contains all pending invitations, including Owner invites.
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 write-up has not been written yet. The Original tab links to the source.
A website gives each team member a role, such as Viewer (can only look) or Owner (full control). The site checked the role only in the browser, so a user could edit what the browser received and pretend to be the invited Owner. Later, a request that should only show Editor invites also leaked Owner invite links.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.