Stored XSS via "Free Shipping" option (Discounts)

Disclosed: 2016-04-05 12:11:17 By ancst To shopify
Unknown
Vulnerability Details
POC steps: 1) Go to the customers page and add a new search group named as "><img src=x onerror=prompt(7) (see img1.png) 2) Go to the discounts page, create a new discount code and mark the "Free Shipping" option. 3) Open a web proxy (i.e. tamper data) and press the "save discount" button. 4) 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). 5) Xssed (img3.png) Click Save
Actions
View on HackerOne
Report Stats
  • Report ID: 124429
  • State: Closed
  • Substate: resolved
  • Upvotes: 1
Share this report