817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
1.4 KB Raw Blame API Reference: Testing for Host Header Injection
Alternative Host Headers
| Header |
Description |
X-Forwarded-Host |
Proxy-set original host |
X-Host |
Alternative host header |
X-Forwarded-Server |
Forwarded server name |
X-HTTP-Host-Override |
Host override |
Forwarded: host= |
RFC 7239 forwarded header |
X-Original-URL |
URL rewrite override |
Attack Scenarios
| Attack |
Severity |
Impact |
| Password reset poisoning |
Critical |
Token theft via poisoned link |
| Web cache poisoning |
Critical |
Stored XSS via cached response |
| SSRF via Host |
High |
Internal service access |
| Virtual host bypass |
Medium |
Access to other vhosts |
| Open redirect |
Medium |
Phishing via redirect |
Test Techniques
| Technique |
Payload Example |
| Direct Host override |
Host: evil.com |
| Alternative header |
X-Forwarded-Host: evil.com |
| Port injection |
Host: target.com:@evil.com |
| Double Host |
Two Host headers |
| Absolute URL |
GET http://target.com/ Host: evil.com |
Python Libraries
| Library |
Version |
Purpose |
requests |
>=2.28 |
HTTP requests with custom headers |
json |
stdlib |
Report generation |
References