HexBrain

Shopify · Report #55842

[persistent cross-site scripting] customers can target admins

Validstatus
4upvotes
1 Jul 2015disclosed

How it was found

hello,

Let's say a shop has a checkout button. when we click buy now , you will be redirected to https://madamcury.myshopify.com/cart/1188733065:1?channel=buy_button&referer=javascript:alert(document.cookie);

Keep an eye on referer parameter in URL referer=javascript:alert(document.cookie);

A customer can set referer to a xss payload, and the admin will see a referer parameter in his control panel, if the admin clicks on the link the xss triggered. (POC ATTACHED)

Steps to reproduce

All admins, users of a shop can be targeted with this attack. Tell me if you any issues reproducing the issue :)

regards Wesecureapp

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