http-host-header-attacks

Detect HTTP Host header injection and SSRF routing vulnerabilities.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/utsavthakur/agenticskills --skill http-host-header-attacks-utsavthakur
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: http-host-header-attacks
Source: https://github.com/utsavthakur/agenticskills/tree/main/http-host-header-attacks
Command: npx skills add https://github.com/utsavthakur/agenticskills --skill http-host-header-attacks-utsavthakur

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill identifies and mitigates HTTP Host header injection and routing abuse, protecting against common web application vulnerabilities.

Core Features & Use Cases

  • Host Header Injection Detection: Detects and prevents attacks like password reset poisoning, cache poisoning, SSRF, and virtual host bypass.
  • Routing Abuse Analysis: Identifies how applications route requests based on Host headers, revealing potential SSRF vectors.
  • Framework-Specific Mitigation: Provides techniques for bypassing Host validation in various web frameworks.

Quick Start

Use the http-host-header-attacks skill to scan your web application for Host header vulnerabilities.

Frequently Asked Questions about http-host-header-attacks

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

FAQPage Schema
How do I detect HTTP Host header injection vulnerabilities in my web application?

Scan your web application to detect HTTP Host header injection by analyzing how it routes requests based on Host headers. This identifies vulnerabilities like password reset poisoning, cache poisoning, and virtual host bypass.

What is HTTP Host header routing abuse and how does it cause SSRF?

HTTP Host header routing abuse occurs when applications misroute requests based on manipulated Host headers. This can expose potential Server-Side Request Forgery vectors by allowing attackers to bypass virtual host protections.

How do I mitigate Host header validation bypasses in web frameworks?

Mitigate Host header validation bypasses using framework-specific techniques. Analyze your web application architecture to identify misconfigurations that allow routing abuse and apply targeted validation rules.

Do I need knowledge of web application architecture to analyze Host header attacks?

Yes, analyzing Host header attacks requires knowledge of web application architecture and the HTTP protocol. This foundational understanding is necessary to identify misconfigurations and understand routing behavior.

What types of attacks can Host header injection enable in web applications?

Host header injection enables attacks like password reset poisoning, cache poisoning, Server-Side Request Forgery (SSRF), and virtual host bypass by exploiting how applications process routing based on the Host header.

Why does my web application route requests incorrectly when the Host header is modified?

Incorrect routing occurs due to misconfigurations in how the web application handles Host header usage. Analyzing this behavior reveals potential routing abuse and virtual host bypass vulnerabilities.