Customer's full name disclosure via Shopify Chat (by email lookup)
The Shopify Chat application allowed an unauthenticated user to retrieve a customer's full name by submitting their email address and manipulating a request parameter. An attacker could disclose the full name of any customer who has an email address known to them.
Originally disclosed on HackerOne
- Triaged in 3 days
- Fixed in 16 days
- Paid in 5 days
- Disclosed after 25 days
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
- Having a shop with Shopify Chat installed, open up
https://{shop}.myshopify.com/?chatin Incognito mode - Click on I need an update on my order
- Click on Enter order information
- Enter targeted customer email and enter any order number and click on Send
- 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
}
- From that intercepted payload, update the
skip_customer_creationtofalseand send the request - 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}. Theconversations.namecontains the targeted customer full name.
Demo
███████
Impact
Retrieve any customer's full name by providing his email.
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 chat backend trusted a client-supplied flag (skip_customer_creation) and, when set to false, returned the existing customer's profile data (including name) in the conversation response without verifying that the requester owned that email address.
Impact
An attacker who knows a customer's email address could retrieve that customer's full name, with no authentication required.
What the attacker needed
A shop with Shopify Chat installed; knowledge of the target customer's email; ability to intercept and modify requests
How it was found
- Open the shop's chat page in Incognito mode.
- Choose the order update option and then enter order information.
- Submit the target customer's email and any order number.
- Intercept the message request to the chat API.
- Change skip_customer_creation from true to false and resend.
- Read the conversation name field in the API response to get the full name.
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.
Shopify Chat is a tool that lets shoppers talk to a store. The report shows that by changing one setting in a chat message request, a stranger could make the chat reveal the full name of any customer whose email address they already knew. This is a privacy leak because names are personal information.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.