HexBrain

Shopify · Report #1018336

Customer's full name disclosure via Shopify Chat (by email lookup)

Validstatus
8upvotes
19 Nov 2020disclosed

How it was found

By making use of the Shopify Chat Application, it is possible to retrieve a customer First Name and Last Name by providing its email.

Steps to reproduce

  1. Having a shop with Shopify Chat installed, open up https://{shop}.myshopify.com/?chat in Incognito mode
  2. Click on I need an update on my order
  3. Click on Enter order information
  4. Enter targeted customer email and enter any order number and click on Send
  5. By using Burp Client and/or any other tool to intercept and alter the request, intercept the request being made to https://shopify-chat.shopifycloud.com/api/storefront/conversations/{id}/messages
{
   "message":{
      "dedupe_key":"05cdde10-05f4-452a-9688-136a89f3f5ed",
      "content":{
         "text":"My order number is #1.\nMy email is [email protected]."
      },
      "automated":true,
      "group":"customer"
   },
   "skip_customer_creation":true
}
  1. From that intercepted payload, update the skip_customer_creation to false and send the request
  2. From your browser Network tab, look at API response of the call being made to https://shopify-chat.shopifycloud.com/api/storefront/conversations/{id}/messages?after={date}&message_id={id}. The conversations.name contains the targeted customer full name.

Demo

███████

Impact

Retrieve any customer's full name by providing his email.

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