Staff members with no permission to access domains can access them.
A staff member restricted to settings-only permissions could still reach the domains settings page by navigating directly to its URL, despite the domains menu item being disabled. This allowed the staff member to add, delete and modify domains.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 3 days
- Paid in 3 days
- Disclosed after 3 days
Hi , I have found that if a staff member has a permission to access settings but has no permissions to access domains he can bypass this by just going to: *store.myshopify.com/admin/settings/domains .
in the side menu the domains tab will be disabled and the user shouldn't be able to access it,but he can access it by just going the domains page url.
#Steps to reproduce:
- Add a new staff member and limit his access o
settingsonly , and don't check thedomainsoption , so the member should only have access to settings and shouldn't have access to domains. - Logout then login with the staff member and go to:
*yourstore.myshopify.com/admin/settings/domainsand you'll be able to add , delete and modify domains.
Thanks
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 domains settings page checked only whether the user could access settings, not whether they had the separate domains permission, so the menu item was hidden but the page itself was not protected.
Impact
A staff member with settings-only access could add, delete and modify the store's domains.
What the attacker needed
A staff account with settings-only permission
How it was found
- Create a staff member with only the settings permission and without the domains permission.
- Log out and log back in as that staff member.
- Navigate directly to the store's admin settings domains page.
- Observe that domains can be added, deleted and modified.
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.
The report shows that hiding the domains menu item was not enough: typing the page address directly still opened it, allowing changes to domains.
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.