How I earned $9000 with Privilege escalations
A project collaboration platform let a low-privilege collaborator send a search request with an empty query parameter, which returned the owner's private metadata and review invite links. The same collaborator could also call owner-only endpoints directly and receive sensitive project data.
Published on junoonbro.medium.com
Hello Community, It’s my very first time that I am sharing my experience and knowledge with you guys and I hope it will add some values to your Bug Bounty journey. Please don’t mind any mistake as I am sharing for the first time ❤
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-side search and project endpoints did not check the caller's role or project membership, and an empty search term made the query return all records instead of none.
Impact
A collaborator could read the owner's private files, folders and review invite links, and could reach other owner-only data through additional endpoints.
What the attacker needed
Two accounts on the platform; one account invited as collaborator; a proxy to edit requests
How it was found
- Create two accounts, one as project owner and one as collaborator, and invite the second into the project.
- Capture the project search request in a proxy and note the q parameter holding the search term.
- Remove the search term from q and resend the request.
- Observe the response containing the owner's private metadata and review invite links.
- Collect owner-only endpoints from the owner's view and replay them with the collaborator account.
- Observe sensitive data returned to the collaborator.
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 with shared projects gives different people different levels of access, like an owner and a guest. The site trusted the guest's browser to only ask for what it was allowed to see, but the server never checked. So a guest could simply ask for the owner's private information and the server handed it over.
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.