Skip to content
Access control Disclosed report Intermediate

Privilege Escalation in Point Of Sale Application from POS Manage Staff Role to potentially Store Owner

A staff member with only POS 'Manage Staff' permission could navigate from the Point of Sale app into the Shopify admin's Plan & Permissions page, gaining store-owner-level actions such as adding staff and transferring ownership. This allowed privilege escalation from a limited POS role to full admin permissions.

imgnotfound Follow

Originally disclosed on HackerOne

  • Triaged in 15 hours
  • Fixed in 32 days
  • Paid in 5 days
  • Disclosed after 2 months

Summary by the program

@francisbeaudoin reported an issue where a malicious staff member on a Point of Sale device was able to add staff members to the Shopify admin of the store.

Though this same result could be obtained by stealing the access token used by POS (known behaviour), in this case the UI itself has a flow that allows a user who would normally only have access to point of sale to access the web administrative interface.

Mitigating factors for this issue included:

  • The user logged into the POS terminal must be the account owner
  • The POS user exploiting this issue must have the Staff Management retail permission
  • A persistent attacker with physical access to the device could achieve a similar result by stealing the access token being used by POS

The report

I was playing a bit with the Point Of Sale application and it came to my attention that it is possible to navigate from the Point Of Sale Application up to the Plan & Permission in the admin. I am not sure if this is intentional, but since it leads to potentially take over a shop, I'm reporting it.

Within he Point Of Sale application, a staff with full admin permissions can open the Point Of Sale channel using the embedded Magage POS roles link. By doing so and by using some nested links, it is possible to navigate up to the Plan & Permissions admin view giving him access to some store owner permissions:

  1. Add staff account
  2. Manage staff account
  3. Update login service
  4. Transfer ownership (requires the shop owner password but could be used to bypass the 2FA protection)

Given that, a POS staff with only Manage Role could escalate his privileges up to Full Permissions and potentially even take over the shop if knows the admin password.

Steps to reproduce

  1. Create a Staff with Full Permissions
  2. Create a POS user with only Manage Staff permissions
  3. From the Point Of Sale Application, log-in with the admin user then enter the PIN of the POS User from Step 2
  4. Go to Staff, select the staff with Full Permissions from Step 1 and change its PIN to 1234
  5. Lock the application screen and log back in using the 1234 PIN, giving you Full Permissions access within the Application
  6. Go to Staff, select any staff, edit its POS APP ACCESS and click on Manage POS Roles
  7. From the Roles listing page, open the Full Permissions staff's role and scroll at the bottom down so you can see the Assigned Staff section and click on the Staff
  8. Scroll at the bottom again and click on Manage Shopify admin access, this is opening up the staff page from Plan and Permissions.
  9. At the top of the page, click on breadcrumb navigation Plan and Permissions link bringing you to the https://shop.myshopify.com/admin/settings/account

At this point, as the Point Of Sale application is using the physically authenticated user, you're given access to store owner features as mentioned earlier.

Impact

A staff with Manager Staff Role within the Point Of Sale application can escalate his privilege to a Full Permission staff and could potentially transfer the shop ownership by using the Transfer ownership link within the Plans & Permissions page.

The original report as published on HackerOne, by imgnotfound. 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 POS app's embedded admin navigation did not enforce role boundaries, allowing a user with only POS staff-management rights to reach the full Shopify admin settings page.

Impact

A POS staff member with only Manage Staff permission could escalate to full permissions and potentially transfer shop ownership, though the attacker needed the account owner logged in, the Staff Management permission, and physical access to the device.

What the attacker needed

Account owner logged into POS terminal; POS user has Staff Management permission; physical access to the POS device

How it was found

  1. Create a staff member with full permissions.
  2. Create a POS user with only Manage Staff permissions.
  3. Log in to the POS app as the admin, then enter the POS user's PIN.
  4. Change the full-permission staff member's PIN to a known value.
  5. Lock the app and log back in with that PIN to gain full permissions in the app.
  6. From Staff, edit POS app access and click Manage POS Roles.

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.

A Point of Sale (POS) app is the till software used in a shop. The report shows that a low-privilege till user could click through menus to reach the shop's main admin settings, which should be off-limits. From there they could add staff accounts or even transfer ownership of the shop.

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 imgnotfound

View all

15 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.