Able to remove the admin access of my program
The report claims a functional bug in HackerOne's group management allows a program to be left without any admin by sending a crafted request that removes all admin members. The attacker could potentially make a program admin-free, violating the requirement that at least one admin must exist.
Originally disclosed on HackerOne
- Triaged in 2 days
- Fixed in 9 days
- Paid in 3 days
- Disclosed after 39 days
Hey Jobert,
There is a functional bug in hackerone, using which i am able to make the my program admin free. This shouldn't be happen in the program because atleast one admin be there in program.
Request: PUT /sasas/groups/12307 HTTP/1.1 Host: hackerone.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:46.0) Gecko/20100101 Firefox/46.0 Accept: application/json, text/javascript, /; q=0.01 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Content-Type: application/json X-Requested-With: XMLHttpRequest Referer: https://hackerone.com/sasas/groups/12307/members/edit Content-Length: 157 Cookie: Connection: close
{"id":12307,"name":"Admin","team_members_count":2,"permissions":["user_management","program_management"],"immutable":true,"team_member_ids":[{"id":"17940"}]}
Thanks & Regards, Pardeep Battu
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application does not enforce a check that prevents removing the last admin from a group.
Impact
An attacker could remove all admins from a program, potentially leaving it unmanageable, though the report does not demonstrate actual exploitation beyond the claim.
What the attacker needed
Access to the program's group management
The fix
The application should enforce a check to prevent removal of the last admin from a group.
How it was found
- Send a PUT request to the group endpoint with a JSON body that specifies only one team member ID, effectively removing the other admin.
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 report has not been written yet. The Original tab links to the source.
This report describes a bug where someone could remove all administrators from a program on HackerOne. The person claims they can send a special request that leaves the program with no admin, which should not be allowed because every program needs at least one admin to manage it.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.