Skip to content
← RegistryDossier · 6 steps · 5 edges

Web cache poisoning → XSS → admin session hijack

An unkeyed header reflects into the response. Poison the cache with a payload, wait for an admin to fetch the cached page, exfiltrate their session.

Filed by AD Knowledge Base
§ Kill-chainDrag · zoom · scroll

§ Context

Assumed environment: a shared cache (Varnish / Cloudflare / Akamai) keys on path+query but not on the vulnerable header. An admin user fetches the cached path periodically.

§ Steps

  1. 01
    Admin account takeoverInitial Access
    T1078Valid Accounts
  2. 02
    Wait for admin to hit cached pathInitial Access
    T1078Valid Accounts
  3. 03
    Exfil admin session cookieCredential Access
    T1539Steal Web Session Cookie
  4. 04
    Craft XSS payload via headerImpact
    W-XSS-REFLECTEDReflected XSS
  5. 05
    Poison cache entryImpact
    W-CACHE-POISONWeb Cache Poisoning
  6. 06
    Identify unkeyed header reflectionImpact
    W-CACHE-POISONWeb Cache Poisoning

    X-Forwarded-Host / X-Forwarded-Scheme / X-Original-URL classic.

§ References

§ Frequently asked

What is the "Web cache poisoning → XSS → admin session hijack" attack path?
An unkeyed header reflects into the response. Poison the cache with a payload, wait for an admin to fetch the cached page, exfiltrate their session. It chains 6 steps drawn from real-world offensive-security techniques.
What starting position does this attack require?
The first step is Admin account takeover (T1078) — a initial access primitive. Assumed environment: a shared cache (Varnish / Cloudflare / Akamai) keys on path+query but not on the vulnerable header.
What is the final impact of this kill-chain?
The final step lands on Identify unkeyed header reflection (W-CACHE-POISON), which falls under Impact. From here, an operator typically pivots into post-exploitation or maintains persistence.
How can defenders detect or prevent this attack?
Detection and prevention vary per step. Refer to each linked MITRE ATT&CK entry under "References" — every technique on that page lists defensive controls, detection telemetry, and known threat-actor usage.

§ Related dossiers