HexBrain

Shopify · Report #1018094

Staff Member can Get POS Access Without User Interaction

Validstatus
mediumseverity
19upvotes
19 Nov 2020disclosed

How it was found

Hi,

I found that it is possible for a staff member to grant themselves POS access without user interaction from admin.

Steps to reproduce

  • Login as a staff member with Manage Locations permission only, in a shop that has POS channel up and running (Could be Lite)
  • Make sure your staff member account didn't have POS enabled
  • Make this GraphQL call
{"query":"mutation {retailUserDataUpdate(id:\"gid://shopify/StaffMember/63779504283\",retailUserData:{posAccess:true,pin:\"1423\"}){staffMember{name canAccessPrivateApps authenticationSettings{tfaEnabled}}userErrors{message}}}"}

Replace 63779504283 with your personal staff member id, you can find it in https://your-store.myshopify.com/admin/settings/account/ and click your account name, then you staff member id is in the url.

  • Now your staff member account has POS enabled, and pin is set.

Impact

It will allow to a staff member to POS takeover without user interaction.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original