An administrator without any permission is able to get order notifications using his APNS Token.
Unknown
Vulnerability Details
**Description**
----
An administrator who lacks the 'Settings' permission is not able to add notifications through the UI. But the endpoint `shop.myshopify.com/admin/mobile_devices.json` does allow the unprivileged user to add his own device.
**PoC**
----
This PoC simply show how to get & re-use the mobile APNS Token.
. Log in the Shopify phone app with a full access account
. Intercept the request to `POST /admin/mobile_devices.json`
. Remove all permissions of that account.
. Remove the mobile notification added.
. Replay the request to `POST /admin/mobile_devices.json`
The order notification has been added in `/admin/settings/notifications`
Make an order, and the mobile will get the notification.
Actions
View on HackerOneReport Stats
- Report ID: 100938
- State: Closed
- Substate: resolved
- Upvotes: 6