Skip to content
Back to skills

Host Header Injection

ASecurity

Host-header injection — apps trusting Host / X-Forwarded-Host to build links, route, or key caches. Password-reset poisoning (account takeover), web cache poisoning, routing/SSRF, and web cache deception. Tier 1. Payloads: payloads/crlf-http.md. Use when the app reflects or acts on the Host or forwarding headers.

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 17, 2026
securityrustbackend

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill host-header-injection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Host Header Injection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Host Header Injection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-host-header-injection/badge)](https://www.skillsdirectory.com/skills/anandjogawade-host-header-injection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: host-header-injection
description: "Host-header injection — apps trusting Host / X-Forwarded-Host to build links, route, or key caches. Password-reset poisoning (account takeover), web cache poisoning, routing/SSRF, and web cache deception. Tier 1. Payloads: payloads/crlf-http.md. Use when the app reflects or acts on the Host or forwarding headers."
---

# Host-Header Injection

If the app trusts `Host`/`X-Forwarded-Host`, you can poison links, caches, and routing. Payloads: `${CLAUDE_PLUGIN_ROOT}/payloads/crlf-http.md`.

## Trigger phrases
`host header injection, x-forwarded-host, password reset poisoning, host header attack, cache poisoning via host`

## Method
1. Inject via `Host`, `X-Forwarded-Host`, `X-Host`, `X-Forwarded-Server`, `Forwarded`, duplicate Host headers, and absolute-URI request line.
2. Confirm where the value lands: emails/links (`password-reset-poisoning` → ATO), cached responses (→ `web-cache-attacks`), redirects/routing (→ SSRF/`web-ssrf`), or cache-key (→ web cache deception).
3. Test port/userinfo tricks (`Host: target:evil`, `Host: target@attacker`).

## Escalation
Reset-link poisoning → account takeover; cache poisoning → mass impact; routing → SSRF/internal access.

## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).

## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.

## Evidence
The injected host, where it surfaced (email/link/cache/redirect), and the resulting impact.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.