web cache poisoning
An attack that gets a cache to store harmful content under a legitimate address, so everyone who asks for that address receives it.
Once poisoned, the cache serves the attacker's content to every user who requests that page.
In more detail
It usually works by making the cache and the server interpret one request differently. Normalising requests the same way at every layer and not caching responses that depend on unkeyed headers prevent it.
Related terms
- proxy server — A server that sits between clients and servers and forwards requests on someone's behalf, often applying policy, caching or security on the way.
- frame masking — The WebSocket rule that every frame from client to server is scrambled with a random 4-byte key, while frames from server to client are not.
Taught in
- Native WebSockets: Bidirectional Real-Time Streams — Node.js Internals & Backend Services