Shopify · Report #100956
Cookie securing your "Opening soon" store is not secured against XSS
Validstatus
2upvotes
1 Dec 2015disclosed
How it was found
PoC:
- Protect your e-shop with a password (Storefront password)
- Go to your e-shop URL and enter the password to access the store
- There is a cookie created - name: storefront_digest - this cookie contains the password (in a secure way) which protects your store
- This cookie is not marked as HttpOnly, so if there is e.g. XSS, anyone can steal this cookie
- With this cookie anyone can access your "Opening soon" e-shop, even if he doesn't know the password
Before you answered I would like to confirm that I read shopify terms and:
- I don't care about he password strength. It is not important in that case
- I am pretty sure that this cookie - storefront_digest - is a sensitive cookie since by stealing this cookie you can access resources you shouldn't be able to...
Thank you.