Open Redirect in shopify app URL
The Shopify callback endpoint of the Amazon Alexa app accepted an arbitrary domain in the shop parameter and redirected to it.
- Triaged in 3 days
- Fixed in 46 days
- Disclosed after 3 months
Hi,
The Amazon Alexa app when installing calls a URL https://assistant-client.meteorapp.com/shopify/callback?code=6aae881ab9c4f12d5b264e6c871a108a&hmac=6109806a12b0439d6a2dce2d547344eb1c2c53e9691259f39eefbb93b9c9c97b&shop=pappuza-2.myshopify.com×tamp=1494008598
The shop parameter will accept any domain and redirects. Don't know whether meteorapp.com is controlled by you but reporting this as this found as made by shopify in the app store.
If not going to resolve this, please do not mark as NA. I will do the needful.
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
What the attacker needed
Victim clicks a crafted link
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.
An open redirect is when a site takes a link parameter and sends the visitor to whatever address is in it. Here the shop parameter was not checked, so a link could redirect to any domain.
What is Open redirect?
A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.