Skip to content
Access control Disclosed report Beginner

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.

Mahmoud Gamal Follow

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:

  1. Add a new staff member and limit his access o settings only , and don't check the domains option , so the member should only have access to settings and shouldn't have access to domains.
  2. Logout then login with the staff member and go to: *yourstore.myshopify.com/admin/settings/domains and you'll be able to add , delete and modify domains.

Thanks

The original report as published on HackerOne, by zombiehelp54. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Create a staff member with only the settings permission and without the domains permission.
  2. Log out and log back in as that staff member.
  3. Navigate directly to the store's admin settings domains page.
  4. 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.

More by Mahmoud Gamal

View all

32 more disclosed reports, best first.

More from Shopify

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.