<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
<!-- NERF is a trademark of defconxt. -->
---
name: hunting-cache-deception-vulnerabilities
description: >-
  Hunt for web cache deception vulnerabilities where authenticated content is cached by CDN/proxy layers through path confusion, allowing unauthorized access to user data.
domain: cybersecurity
subdomain: bug-bounty
tags:
  - cache-deception
  - cdn
  - path-confusion
  - information-disclosure
version: "1.0"
author: defconxt
license: AGPL-3.0
metadata:
  mitre-attack: ["T1557"]
  frameworks: ["MITRE ATT&CK", "OWASP"]
  tools: ["burpsuite", "curl", "ffuf"]
---

# Hunting Cache Deception Vulnerabilities

## Overview

Hunt for web cache deception vulnerabilities where authenticated content is cached by CDN/proxy layers through path confusion, allowing unauthorized access to user data.

## Prerequisites

| Tool / Requirement | Details |
|---|---|
| `burpsuite` | Security tooling |
| `curl` | Security tooling |
| `ffuf` | Security tooling |
| Burp Suite, understanding of CDN caching behavior, target application | Environment requirement |

## Quick Reference

```bash
# Quick start commands
node scripts/agent.js --help
curl -s https://target.com/account/settings/nonexistent.css -H 'Cookie: session=xxx'
```

## Workflow

### Step 1: Test Path Confusion

```bash
curl -s https://target.com/account/settings/nonexistent.css -H 'Cookie: session=xxx'
```

### Step 2: Identify Caching Rules

```bash
node scripts/agent.js analyze --url https://target.com --check cache-rules
```

### Step 3: Exploit Cache Deception

```bash
node scripts/agent.js exploit --url https://target.com/profile --extension .css
```


## Verification

- **Verify cache behavior**: `node scripts/agent.js analyze --url https://target.com --check cache-rules`
- **Confirm deception**: `node scripts/agent.js exploit --url https://target.com/profile --extension .css`

## References

- MITRE ATT&CK: T1557
- Frameworks: MITRE ATT&CK, OWASP
- Tools: burpsuite, curl, ffuf
