HexBrain

Shopify · Report #103772

Open Redirect at *.myshopify.com/account/login?checkout_url=

Validstatus
30upvotes
16 Dec 2015disclosed

How it was found

Hi,

Any user after logging into an any myshopify shop can be redirected to other domain.

To reproduce: Send this to victim: http://sehyoginfoshop.myshopify.com/account/login?checkout_url=.np

Now when our victim logs in, He will be redirected to https://sehyoginfoshop.myshopify.com.np/

Which is not a shopify domain.

Fix: While redirecting Use <shop-name>"/"$checkout_url instead of <shop-name>$checkout_url

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