Re:Is Your Site Leaking Password Reset Links?
by CGamesPlay on Monday October 24, 2016 @01:20PM
(#12780802)
Or the attack just skips the secure hash check on the server... This example doesn't seem to hold water either.
You use a piece of open source software that has a javascript file which the author has hosted on a CDN. In order to mitigate an attack where someone changes the content of the javascript file you use a hash[1] to ensure the file does not change. You think you are safe, but a malicious actor gets access to the CDN and instead of changing the file, instead builds a quick scripts that looks for password reset referrer patterns and races the human to reset the password first. A computer is probably going to win that game that majority of the time.
[1] https://github.com/twitter/secureheaders#hash