cache-attack

Detect and exploit web cache poisoning and deception vulnerabilities in CDNs and reverse proxies.

1.1k|191|Updated Jun 24, 2026
One-click install
npx skills add https://github.com/uphiago/recon-skills --skill cache-attack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cache-attack
Source: https://github.com/uphiago/recon-skills/tree/main/recon/cache-attack
Command: npx skills add https://github.com/uphiago/recon-skills --skill cache-attack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill solves the problem of identifying and exploiting web cache poisoning (WCP) and web cache deception (WCD) vulnerabilities in CDNs and reverse proxies, which are often undetected during standard surface-level web reconnaissance and vulnerability scanning.

Core Features & Use Cases

  • Cache Infrastructure Detection: Automatically identifies CDN and reverse proxy providers (CloudFront, Cloudflare, Fastly, Varnish, Nginx) via cache response headers.
  • WCP Vulnerability Testing: Tests for unkeyed input reflection and validates cache storage of malicious payloads to enable stored cross-site scripting and open redirect attacks via poisoned caches.
  • WCD Vulnerability Testing: Validates cache deception flaws by forcing caches to store sensitive user pages (e.g., profile, admin dashboards) that attackers can then access.
  • Use Case: After standard web recon finds no direct vulnerabilities, use this Skill to pivot to infrastructure-layer attacks against targets using common caching layers, expanding the attack surface beyond application-level flaws.

Quick Start

Use the cache-attack skill to test the target example.com for web cache poisoning and deception vulnerabilities, starting with automated cache header detection and CDN identification.

Frequently Asked Questions about cache-attack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I test for web cache poisoning vulnerabilities on a target using Cloudflare or Fastly?

To test for web cache poisoning on Cloudflare or Fastly, you need to check for unkeyed input reflection and validate if the caching system stores malicious payloads. This Skill automates that detection using standard command-line tools like curl.

What is the best way to detect web cache deception flaws in CDN configurations?

The best way to detect web cache deception flaws is to force the caching system to store sensitive user pages, such as admin dashboards or profiles, and then attempt to access them. This Skill validates those cache deception vulnerabilities directly.

How does cache poisoning work when standard web vulnerability scans return no findings?

Cache poisoning works by exploiting infrastructure-layer attack vectors in reverse proxies that standard application scans miss. This Skill identifies unkeyed inputs and validates cache storage to enable stored cross-site scripting or open redirects via poisoned caches.

Can I use curl and nmap to identify CDN and reverse proxy caching providers?

Yes, you can use curl and nmap to identify CDN and reverse proxy providers like CloudFront, Varnish, or Nginx. This Skill automates cache infrastructure detection by analyzing specific cache response headers from those command-line tools.

When should I pivot to testing reverse proxy cache vulnerabilities during a penetration test?

You should pivot to testing reverse proxy cache vulnerabilities when standard surface-level web reconnaissance finds no direct application flaws. This Skill enables you to expand the attack surface to infrastructure-layer vectors against targets using caching layers.

Does this Skill support testing for open redirect attacks via poisoned caches on Nginx?

Yes, this Skill supports testing for open redirect attacks on Nginx by validating cache storage of malicious payloads. It tests unkeyed input reflection to enable both stored cross-site scripting and open redirect attacks through poisoned cache entries.