hunt-host-header

Detect and validate Host Header injection vulnerabilities in web applications.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/bpnrockstar/UnifiedBugHunter --skill hunt-host-header-bpnrockstar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: hunt-host-header
Source: https://github.com/bpnrockstar/UnifiedBugHunter/tree/main/skills/hunt-host-header
Command: npx skills add https://github.com/bpnrockstar/UnifiedBugHunter --skill hunt-host-header-bpnrockstar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, and includes scripts (resource) components.

What problem does it solve?

This Skill identifies and validates Host Header injection vulnerabilities in web applications, which can lead to password reset poisoning, web cache poisoning, SSRF, ACL bypass, OAuth redirect_uri/issuer poisoning, and absolute-URL link poisoning.

Core Features & Use Cases

  • Password Reset Poisoning: Detects and validates the exploitation of password reset endpoints for ATO.
  • Web Cache Poisoning: Identifies unkeyed Host/X-Forwarded-Host headers leading to cache poisoning.
  • SSRF: Detects routing-based SSRF and path-override SSRF/ACL bypass vulnerabilities.
  • OAuth/OIDC Poisoning: Validates OAuth redirect_uri/issuer and SAML poisoning vulnerabilities.
  • Use Case: For example, when auditing a web application, this Skill can be used to identify potential Host Header injection vulnerabilities that could be exploited for sensitive data exfiltration or unauthorized access.

Quick Start

Run the skill on the target application to automatically scan for Host Header injection vulnerabilities.

Frequently Asked Questions about hunt-host-header

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

FAQPage Schema
How do I detect Host Header injection vulnerabilities in web applications?

Host Header injection detection involves sending manipulated Host or X-Forwarded-Host headers to a target application and validating the server response. This identifies exploitable vectors for password reset poisoning and cache poisoning.

What is password reset poisoning and how does Host Header injection enable it?

Password reset poisoning is an attack where a manipulated Host Header causes an application to generate password reset links pointing to an attacker-controlled domain. This allows attackers to capture reset tokens and achieve account takeover.

Can I test for OAuth redirect_uri and SAML issuer poisoning using curl?

Yes, you can test for OAuth redirect_uri and issuer poisoning using curl to inject malicious Host headers. This validates whether the identity provider incorrectly trusts the forwarded header for redirect validation.

Does this approach work for finding routing-based SSRF and ACL bypass issues?

Yes, testing for Host Header injection works for finding routing-based SSRF and ACL bypass issues. By overriding the Host header, you can detect if internal routing rules trust the header to access restricted endpoints.

Do I need to manually confirm web cache poisoning results from automated scans?

Yes, you need to manually confirm web cache poisoning results because automated scans identify potential unkeyed header vulnerabilities, but validating actual cache storage requires verifying the poisoned response is served to other users.

When should I test for absolute-URL link poisoning in my web application?

You should test for absolute-URL link poisoning when an application generates links based on the Host header. If the server trusts the injected header, generated absolute URLs will point to an attacker-controlled domain.