Program admins could add verified domains to an organization
A program admin without organization admin rights could still reach the domain verification page and add a verified domain to the organization. This let a lower-privileged user use a feature that the documentation reserves for organization admins.
- Triaged in 34 days
- Fixed in 42 days
- Paid in 42 days
- Disclosed after 50 days
in hackerone according to the documentation https://docs.hackerone.com/en/articles/8490190-domain-verification only an organization admin could add verified domain .but there is an bypass.
steps to reproduce:
- create an sandbox
2.remove org admin permission(you must add program admin permission before removing org admin) 3. go to the url https://hackerone.com/<program you are admin of>/domain_ownerships/new 4.from there you will be able to add verified domain in the org
Impact
access of restricted feature privilage escalation
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 domain ownership creation page checked only that the user was a program admin rather than requiring organization admin rights.
Impact
A program admin could use a restricted feature reserved for organization admins, a privilege escalation, though the text does not show what further access the verified domain granted.
What the attacker needed
A sandbox program; program admin role on the program; organization admin role removed
How it was found
- Create a sandbox.
- Give the user program admin permission, then remove organization admin permission.
- Open the domain ownership creation page for the program.
- Add a verified domain to the organization from that page.
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.
In many apps, different roles get different powers. Here, the power to prove ownership of a domain was meant only for the top role in an organization. A user with a lesser role could still open the page directly and use that feature, which is a permission check that was missing or too weak.
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.