Horizontal Privilege Escalation Leads to Bounty
A user with limited access to one project could modify the project_ids parameter when sharing that project to include the ID of a project they did not have access to, thereby gaining access to that restricted project. The attacker could then view or share sensitive project data they were not authorised to see.
Published on medium.com
Hey there, fellow Hackers! Today, I’ve got an exciting story to share about an interesting bug I found in a tool lots of folks use for managing projects.
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
Impact
An attacker with limited access could gain access to other users' private projects, potentially exposing client information and project plans.
What the attacker needed
A free account; access to at least one shared project; ability to intercept HTTP requests
The fix
The server should verify that the requesting user has permission to share every project listed in the project_ids parameter before processing the request.
How it was found
- Log in with an account that has access to only one of the owner's multiple projects.
- Intercept the request sent when inviting a new member to the shared project.
- Change the project_ids parameter to include the ID of a project you do not have access to.
- Forward the modified request to the server.
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.
This is a case where a website checked that you were allowed to share a project, but did not check that every project you listed in the sharing request was one you actually owned or had access to. By changing a number in the request, a user could add someone else's private project to the share, effectively giving themselves access to it. This is called horizontal privilege escalation because the attacker has the same level of account as the victim, not higher.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.