Skip to content
Access control Disclosed report Intermediate

Read access to hidden orders,products,customers etc. by limited access Staff member through reference page in Comments (Information disclosure )

A staff member with limited permissions could reference orders, customers, and other resources in timeline comments, revealing their summary details. This allowed access to information the staff member was not permitted to view.

Vijay Kumar Follow

Originally disclosed on HackerOne

  • Triaged in 46 hours
  • Fixed in 11 months
  • Paid in 11 months
  • Disclosed after 2.4 years

Summary by the program

This report demonstrated that an admin user without having corresponding resource permissions can reveal summary of resources by adding a reference to the resources (products, orders, inventory etc) in timeline comments. This can be achieved by posting a comment [#O3103227907|foobar] which reveals summary of the order in the comment.

The report

Hi Team ,

Note : I have reported multiple issues related to information which were closed a N/A due to some information lack. But this issue will look similar by title but it's different then other issues. Before testing anything i have insured that all other permissions are limited for the account so by any way he should not be able to get these information. Description : Any staff member with limited access can view the details of it's limited area. Ex: If staff member have limited access to orders , He can still view orders. If he has limited access to customers , he can still view customers details like name, email etc. This can be possible by comment section in products ,orders etc. In comment section you will see the # sign by which you can refer any page. Now you won't have access to the pages where your access is limited. Suppose you have access to products but no access to orders. When you will see # sign you can only find pages of products but you won't find the order related pages. Now while commenting you need to add the ID of that order and you will be able to see details of that order in the comment .

Steps to reproduce : Let's say a staff member has limited access to products and orders but he has access to products. *Access details : No access to order, order_creation, customers , reports ,discount etc.

  1. Now open any transfer from product menu and and you will see the comment section where you will see the # sign by which you can refer any page of orders,products,customers etc.
  2. When you will click on this # you will notice that it will only show the products related reference pages. But it won't show the orders and customers pages because of your access issue. It means you don't access to it and you can't refer these pages.
  3. Now put any product page and add some comment to it and save it. Intercept this request and change the product ID to order ID and the order details will be posted.Instead of order ID if you put customer ID , you will get the customers name and it's email address.

So this is how any user who has limited access to any feature can access it by this method.

POC :

suppose a staff member have limited access to orders , draft_order and customers then he should not be able to access these information.

HTTP request Modified :

POST /admin/transfers/774529/timeline_comments HTTP/1.1 Host: vijaygangani1110store.myshopify.com User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0 Accept: / Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br X-CSRF-Token: RZIoZCcT7SGMNDwD6wl0gHzb1ACcOm1uSXy/NbItuXwQr/95Jzg+24HCWIM4Wzc0Z/F76VYd4iuPF1jj7X0zrQ== X-Requested-With: XMLHttpRequest Referer: https://vijaygangani1110store.myshopify.com/admin/transfers/774529 Content-Length: 187 Content-Type: multipart/form-data; boundary=---------------------------191772538514734 Cookie:[cookie_values] Connection: keep-alive

-----------------------------191772538514734 Content-Disposition: form-data; name="timeline_comment[body]"

[#O3599995137|Order #1005] -----------------------------191772538514734--

I changed product ID to order ID here. In the timeline_body you have to add order ID to get the order details. If you want to retrieve the customers details you need to add the customer ID in the following format : [#C3502872769| anyword]

Here you will be able to get the email address ,name and profile photo of the customer.

Impact : If any shopify owner wants to hire a expert in such a way that he should not be accessing customer details, orders ,order_creation and related items then staff member should not access these things from any where. But by this way the staff member can get access to all these information.

Let me know of you need any other help from my side to reproduce this issue. I can provide VIdeo POC if needed.

Best Regards ! Vijay Kumar

The original report as published on HackerOne, by indoappsec. 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 comment reference feature did not enforce permission checks on the referenced resource, allowing any staff member to retrieve summaries of orders, customers, and other restricted items.

Impact

A staff member with limited permissions could access customer details, orders, and other restricted information, bypassing the intended access controls.

What the attacker needed

A staff account with limited permissions; access to the comment feature on a product transfer

How it was found

  1. Open a product transfer and locate the comment section with the # reference option.
  2. Observe that only product-related references are shown, not orders or customers.
  3. Post a comment containing a product reference, intercept the request, and change the product ID to an order ID.
  4. The order details are then posted in the comment; using a customer ID instead reveals the customer's name and email address.

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 many admin systems, staff accounts have restricted permissions. This report shows that a restricted staff member could still see details of orders and customers by typing a special reference code into a comment box. The system did not check whether the staff member was allowed to see that referenced item.

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 Vijay Kumar

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.