Cyber Risks · PortSwigger Research

Lab: Web cache poisoning with multiple headers

Summary: PortSwigger's lab demonstrates a web cache poisoning vulnerability that is only exploitable when multiple headers are used to craft a malicious request, and it supports both the X-Forwarded-Host and X-Forwarded-Scheme headers. A user visits the home page roughly once a minute, and the goal is to poison the cache with a response that executes alert(document.cookie) in the visitor's browser.

Key Takeaway: A single poisoned cache entry can serve a malicious response to every visitor who lands on that page, and here that means roughly one visitor a minute until the cache is cleared.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related