Testing for Vulnerability
Test Objectives
Assess if the Host header is being parsed dynamically in the application.
Bypass security controls that rely on the header.
How to Test
Supply an arbitrary Host Header
GET / HTTP/1.1
Host: www.attacker.comCheck for flawed validation (Bypass)
# Supplying non numeric port number
GET /example HTTP/1.1
Host: vulnerable-website.com:bad-stuff-here# Registering a domain that matches the same sequence of characters
GET /example HTTP/1.1
Host: notvulnerable-website.comREFERENCES
Last updated
Was this helpful?