HexBrain

Starbucks · Report #188972

Persistent XSS in www.starbucks.com

Validstatus
highseverity
35upvotes
17 Jan 2017disclosed

How it was found

There is a persistent XSS in

https://www.starbucks.com/coffee/espresso/latte-macchiato

It is caused by loading scripts from:

//starbucksmacchiato-prod.elasticbeanstalk.com/scripts/bn-v1.0.0-Release-min.js

Note that starbucksmacchiato-prod.elasticbeanstalk.com is not registered on elastic beanstalk. You can verify this by looking up the IP address for this subdomain and noting that it does not resolve. Through registering that domain on elastic beanstalk and deploying a webserver that responds to that request with javascript, an attacker could get a persistent XSS on Starbuck's website.

I have not registered that domain with Elastic Beanstalk since it would give me a large amount of information about the user's of Starbuck's website (and it would incur a large amount of traffic-more than I'd like to pay for on AWS!). If you would like me to do so, let me know but I do not want to go past the bounds of acceptable testing.

Thanks, David Dworken

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