Re:Practical Web Cache Poisoning
by data_spy on Friday August 10, 2018 @01:08PM
(#17735048)
The website I work at has an advertising partner cache bids and creatives, could these in theory be hijacked?
[ Parent
| on HN ]
Re:Practical Web Cache Poisoning
by joeyrideout on Friday August 10, 2018 @02:16PM
(#17735612)
I watched the author's talk at Black Hat yesterday and to my understanding, yes. It's a matter of tricking the cache into storing a request with malicious unkeyed input.
i.e. The cache looks for:
GET /advertisement/1
And caches the request body and other headers as a value with that line as the key. If you can manipulate the same key to have a different value, say by tweaking a cache-specific header, then the body of that GET response (an ad) changes for everyone hitting the same cache. Certainly worth testing with the tools that have been released ;)
EDIT: The tool in question, a plugin for Burp Community + Pro: https://github.com/PortSwigger/param-miner