Skip to content
Open redirect Disclosed report Beginner

Host header Injection

sumit7 Follow

Originally disclosed on HackerOne

  • Disclosed after 19 hours

HI SECURITY TEAM

Here is host header injection.

#Request (changing host to www.google.com) GET / HTTP/1.1 Host: www.google.com User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Connection: keep-alive

#RESPONSE(www.google.com injected) HTTP/1.1 301 Moved Permanently Cache-Control: public, max-age=0, must-revalidate Content-Length: 35 Content-Type: text/plain Date: Tue, 18 Apr 2017 14:23:25 GMT Location: https://google.com/ Age: 0 Connection: keep-alive Server: Netlify

Redirecting to https://google.com/

Attachments

host_header_injection.jpg
host_header_injection.jpg From the original on HackerOne

The original report as published on HackerOne, by sumit7. 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.

What is known

A medium-severity open redirect bug in Homebrew. HackerOne made it public on 19 April 2017.

About Open redirect

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

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 sumit7

View all

5 more disclosed reports, best first.

More from Homebrew

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.