Skip to content
Open redirect Disclosed report Beginner

Host Header Injection via X-FORWARDED-HOST lead to open redirection

The target website accepted a client-supplied X-FORWARDED-HOST header and used it to build redirects. An attacker could redirect users to a malicious site, enabling phishing or bypassing security controls.

ashraff_01 Follow

Originally disclosed on Bugcrowd

Informational View original
  • Disclosed after 5 months

Summary by National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

Site updated.

Summary by ashraff_01

The target website is vulnerable to a Host Header Injection attack through the X-FORWARDED-HOST header. This vulnerability can be exploited to perform an open redirection, which could allow an attacker to redirect users to a malicious site, conduct phishing attacks, or bypass security controls.

The original report as published on Bugcrowd, by National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

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 trusted the client-supplied X-FORWARDED-HOST header when constructing redirect URLs instead of using a fixed, validated host.

Impact

An attacker could redirect users to a malicious site, conduct phishing attacks, or bypass security controls.

What the attacker needed

Ability to set X-FORWARDED-HOST header

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.

A web server often uses the host name in the request to build links or redirects. Here the site also trusted an extra header called X-FORWARDED-HOST, which a client can set freely. By putting a different host name there, an attacker could make the site send users to a site the attacker controls.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More by ashraff_01

View all

1 more disclosed report, best first.

More from National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.