Skip to content
Access control Disclosed report Intermediate

Staff with Restricted Permissions Could Access Customer Data After Company Removal

A staff member with restricted company permissions could still view and update a customer's personal information after that customer was removed from the company. The attacker could see updated shipping addresses and manage personal details that should no longer be accessible.

sahill_chavda Follow with jadav_

Originally disclosed on HackerOne

Medium 4.2 View original
  • Triaged in 16 days
  • Fixed in 51 days
  • Paid in 22 days
  • Disclosed after 9 months

Summary by the program

The report identifies a vulnerability in Shopify's admin interface where staff members with restricted company permissions can still access and update customer information even after the customer has been removed from a specific company. The issue arises when a customer, initially associated with a company and having placed an order, is later removed from that company. Despite the removal, staff with limited permissions can still view and manage the customer's personal information, including updated shipping addresses.

The report

Summary:

Hello Team,

During my research on admin.shopify.com, I discovered that if a customer is associated with a specific company and places an order for that company, but is later removed from the company, staff with restricted company permissions can still access and update the customer's information.

Shops Used to Test:

████.myshopify.com

Steps To Reproduce:

  1. Visit partner dashboard
  2. Create development store or use existing one.
  3. Login to admin.shopify.com.
  4. Invite staff member and assign them Companies > View, Restrict permissions to assigned company locations and customers permissions.
  5. Create a company and assign a customer to this company.
  6. Create an order for the company created in step 5 from the customer's account.
  7. Remove the customer from that company.
  8. Try to place a personal order with different shipping address for the customer.
  9. Visit the staff member account's customer tab and see the customer is still present with updated shipping address and is able to manage their personal information as well.

Impact

Summary:

I think if a customer places an order for a company and is later removed from the company, only the order information should remain accessible to the staff. The customer's personal information, such as their shipping address or the ability to update their personal details, should no longer be accessible to ensure privacy.

The original report as published on HackerOne, by sahill_chavda. 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

Impact

A staff member with restricted permissions could view and update a removed customer's personal information, including updated shipping addresses, which should no longer be accessible.

What the attacker needed

A Shopify development store; staff account with limited company permissions; a customer assigned to a company; an order placed for that company

How it was found

  1. Create or use a development store and log in to the admin.
  2. Invite a staff member with limited company and customer permissions.
  3. Create a company and assign a customer to it.
  4. Place an order for that company from the customer's account.
  5. Remove the customer from the company.
  6. Place a personal order with a different shipping address, then check the staff account's customer tab.

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.

In a shop admin, staff can be limited to only see customers of a certain company. This report shows that after a customer is removed from that company, the staff member could still see and change that customer's private details, like their address. That is a privacy problem because the staff member should lose access once the customer is no longer linked to the company.

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