Re:Cache across domains with a file hash
by alexchamberlain on Thursday September 13, 2012 @09:41AM
(#4516053)
Not sure I understand. How would another site grab it? And if they imported it into their page, why would that matter?
[ Parent
| on HN ]
Re:Cache across domains with a file hash
by saalweachter on Thursday September 13, 2012 @10:13AM
(#4516201)
If I'm reading it correctly, I think the idea is, imagine your bank uses a hash-cache of an AJAX request containing your bank statements (stupid, yeah, but everyone is stupid sometimes).
A malicious website could then include a request to download a bogus URL from their site with a hash which matched that of the bank statement AJAX response. The browser would then return the cached bank statement, without ever noticing the URLs were bogus or didn't even point to a file with the desired hash. The malicious website could then upload the bank statements back to itself.
This seems like technically an attack path, but it relies on being able to guess a 256-bit hash in a relatively small number of guesses; if you can do that, you might as well just start guessing password hashes and log in to a target website directly.