HexBrain

Shopify · Report #331223

Order notifications being sent for a deactivated staff account

Validstatus
lowseverity
$500bounty
16upvotes
12 Apr 2018disclosed

Summary

@newbie_101 noticed that order notifications associated with a staff member's account continued to be sent even after that staff account was deactivated. This could result in unintentional disclosure of order details. We addressed the issue by adding logic to automatically disable notifications at the time an account is deactivated.

How it was found

Hi,

Steps to reproduce :

  • Have a staff account with settings permission
  • The staff account can go to notifications & add himself so as to get new order notifications
  • Now,deactivate the staff account via the admin.
  • Create a new order,you shall see that the staff still receives the order notification via email.
  • This happens because the account still exists,but if staff deleted , then there is no account,hence no email) so no notification.

Impact

  • Info disclosure about a customer of a store the staff account cant have access to.

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