Host Header Poisoning in thisdata.com
The application trusted the user-supplied Host header, allowing an attacker to redirect users to an arbitrary domain or inject links into pages such as the homepage and signup. This could also enable cache poisoning attacks.
- Triaged in 39 days
- Fixed in 44 days
- Disclosed after 45 days
Summary by the program
ThisData made inappropriate use of the user-supplied host header, which could have resulted in a user being redirected to an arbitrary domain under some circumstances. On other pages, the header was used within metadata values like the canonical URL.
7H0R4PP4N was very thorough and helpful as we resolved this issue!
Summary by the researcher
The application appears to trust the user-supplied host header. The user is redirected to any domain as set in host header. In certain pages like /signup or the homepage itself, the header is used to build links within the page rather than redirecting the user. This could also be used for cache poisoning attacks.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application used the Host header value without validating it against an allowlist of expected domains.
Impact
An attacker could redirect users to an arbitrary domain or inject malicious links into pages, and potentially perform cache poisoning attacks.
What the attacker needed
Attacker can control Host header
The fix
The Host header should be validated against trusted domains before use in redirects or links.
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 report has not been written yet. The Original tab links to the source.
When you visit a website, your browser sends a 'Host' header telling the server which site you want. If the server blindly trusts this value, an attacker can change it to their own domain, and the site may redirect you there or build links pointing to the attacker's site. This is dangerous because it can be used for phishing or to poison cached pages.
What is Cache bugs?
A cache and the origin disagree about a request, so a poisoned response is served to everyone or a private page is stored as public.