Skip to content
XSS Disclosed report Intermediate

Host Header Injection & Open Redirection leading to Cross-Site Scripting (XSS)

The report claims that the NASA website mishandles the X-Forwarded-Host header, allowing an attacker to manipulate response headers and body content. This could lead to open redirection and reflected XSS, though the program notes the XSS is self-inflicted because the payload must be injected by intercepting the request.

ashraff_01 Follow

Originally disclosed on Bugcrowd

Informational View original
  • Disclosed after 3 months

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

The XSS report would is considered informational, since it only demonstrates a self attack. The payload is being injected by intercepting the request, so the victim would have to inject the payload themselves.

Summary by ashraff_01

During the security assessment of the NASA website, I identified a severe vulnerability caused by improper handling of HTTP headers, specifically the X-Forwarded-Host header. The vulnerability allows an attacker to manipulate the HTTP response headers and body content, resulting in an open redirection and potential reflected Cross-Site Scripting (XSS) attack.

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

Impact

The report claims open redirection and reflected XSS are possible, but the program states the XSS is only a self attack because the payload must be injected by intercepting the request.

What the attacker needed

Ability to intercept and modify requests

The fix

The application should validate or ignore the X-Forwarded-Host header and not use it to construct redirects or page content.

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 sometimes trusts a header called X-Forwarded-Host to decide where to send users or what to show on a page. If it does not check that value, an attacker can set it to a malicious address, causing a redirect to a bad site or injecting script. Here, the program says the script injection only works if the victim themselves modifies the request, so it is not a real attack against other users.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

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.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.