testing-for-host-header-injection

Community

Detect Host header injection and prevent exploits

AuthorAcczdy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill identifies and diagnoses HTTP Host header injection weaknesses that can lead to password reset poisoning, web cache poisoning, SSRF, virtual host routing abuse, and other host-based routing or URL generation vulnerabilities.

Core Features & Use Cases

  • Reflected Host Detection: Detects when Host or alternative host headers are reflected in responses or included in generated URLs.
  • Password Reset Poisoning Checks: Triggers and inspects password reset flows to determine if reset links can be poisoned to leak tokens.
  • Cache & SSRF Probing: Exercises cache layers and backend request flows to verify cache poisoning and SSRF via Host header manipulation.
  • Use Case: During a web application pentest, run this Skill to enumerate vhosts, verify reset email link generation, and confirm whether caches or proxies honor attacker-controlled host headers.

Quick Start

Test http://target.com for Host header reflection, password reset poisoning, cache poisoning, SSRF, and virtual host exposure and produce a summarized findings report.

Dependency Matrix

Required Modules

requests

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: testing-for-host-header-injection
Download link: https://github.com/Acczdy/MoZiSec/archive/main.zip#testing-for-host-header-injection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.