How I Found an Host Header Injection Vulnerability Easily In (Mar
The web application reflects an attacker-supplied Host header in its response without validation. An attacker could use this for web cache poisoning, phishing via redirection, or manipulating password reset links.
The web application hosted at https://eukanuba-gt.com is vulnerable to Host Header Injection. When an attacker supplies a malicious Host header, the server reflects this value in the response without proper validation, indicating that the backend logic makes unsafe use of the Host header.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application uses the Host header to build URLs or redirects without validating it against an allowlist.
Impact
The reflected Host header could enable web cache poisoning, phishing redirects, or tampering with password reset links, though the report does not demonstrate these exploits.
What the attacker needed
Ability to intercept and modify HTTP requests
The fix
The application should validate the Host header against an allowlist of expected domains and avoid using it directly in redirects or generated links.
How it was found
- Intercept a request to the target site using a proxy tool.
- Change the Host header to an attacker-controlled domain.
- Forward the request and observe the response.
- Follow the redirection to see where it leads.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When your browser visits a website, it sends a 'Host' header telling the server which site you want. This server trusted whatever Host value was sent and echoed it back, so an attacker could make the site appear to point somewhere else. That can trick users or poison cached pages.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.