Learning security in the open :)
I’m a Penetration tester. I write up each topic as I learn it
the Vulnerabilities, the Tools, the Concepts that finally clicked
latest Internal cache poisoning
- 223writeups
- 221boxes rooted
- 5Certification
Latest writeups
All writeups-
Hard
Internal cache poisoning
web cache poisoning across two cache layers, where X-Forwarded-Host is keyed by the external cache but unkeyed by the internal one, letting you poison a separately-cached geolocate.js fragment to point at an exploit-server script running alert(document.cookie)
Web cache poisoning 3 min -
Insane
Cache key injection
the hardest poisoning lab, chaining four bugs, a flawed cache-key regex, client-side parameter pollution via lang, CRLF response header injection through Origin, and cache key injection exposed by Pragma: x-get-cache-key, to poison localize.js into alert(1) and the login page into importing it
Web cache poisoning 9 min -
Insane
Combining web cache poisoning vulnerabilities
the hardest poisoning lab, chaining an unkeyed X-Forwarded-Host to serve malicious translations json into a non-english DOM-XSS sink, then an unkeyed X-Original-URL with a backslash-normalization trick to cache a 302 that forces the english victim onto the poisoned spanish page
Web cache poisoning 7 min -
Hard
Web cache poisoning to exploit a DOM vulnerability via a cache with strict cacheability criteria
web cache poisoning chained into a DOM-XSS, an unkeyed X-Forwarded-Host overwrites data.host so initGeoLocate() fetches attacker json from the exploit server, whose country value carries an img onerror payload into the sink, landed within the cache’s strict cacheability rules
Web cache poisoning 3 min -
Easy
URL normalization
url normalization web cache poisoning where a reflected path xss is blocked by browser url-encoding, bypassed by poisoning the cache with the raw decoded payload in Repeater so the cache’s normalization matches the victim’s encoded request to the stored executing response
Web cache poisoning 2 min -
Easy
Web cache poisoning via a fat GET request
web cache poisoning via a fat GET, the app reads a request body on GET and lets a body callback override the url one while the cache keys only on the request line, so a smuggled body callback=alert(1) poisons the geolocate.js jsonp under the clean key
Web cache poisoning 2 min -
Medium
Parameter cloaking
parameter cloaking that chains an excluded utm_content parameter with a cache/back-end parsing mismatch, smuggling a second callback past the semicolon so it overrides the geolocate.js jsonp function with alert(1) while the cache key stays clean
Web cache poisoning 3 min