Skip to content
Cache bugs Disclosed report Intermediate

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.

7h0r4pp4n Follow

Originally disclosed on HackerOne

  • 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.

The original report as published on HackerOne, by 7h0r4pp4n. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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.

More by 7h0r4pp4n

View all

2 more disclosed reports, best first.

More from ThisData

View all

The newest disclosed reports for this program.

Web cache poisoning and deception

The lesson behind this report.

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.