Stored XSS via "Free Shipping" option (Discounts)
- Triaged in 4 hours
- Fixed in 3 days
- Paid in 17 days
- Disclosed after 17 days
POC steps:
-
Go to the customers page and add a new search group named as "><img src=x onerror=prompt(7) (see img1.png)
-
Go to the discounts page, create a new discount code and mark the "Free Shipping" option.
-
Open a web proxy (i.e. tamper data) and press the "save discount" button.
-
Through the web proxy (i.e. tamper data) modify the POST request and change the value of "discount%5Bapplies_to_resource%5D" to "customer_saved_search" and the "discount%5Bapplies_to_id%5D" to "1131411463" (the id of the new search group in step 1)(see img2.png).
-
Xssed (img3.png)
Click Save
Attachments



Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A XSS bug in Shopify. HackerOne made it public on 5 April 2016. It paid $500.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.