Skip to content
Open redirect Disclosed report Beginner

Vulnerability Name: Host Header Injection Redirect

jatingupta Follow

Originally disclosed on HackerOne

  • Fixed in 3 hours
  • Disclosed after 3 months

Vulnerability Description: Open redirection is sometimes used as a part of phishing attacks that confuse visitors about which web site they are visiting.

Remediation: If possible, the application should avoid incorporating user-controllable data into redirection targets. In many cases, this behavior can be avoided in two ways: Remove the redirection function from the application, and replace links to it with direct links to the relevant target URLs. Maintain a server-side list of all URLs that are permitted for redirection. Instead of passing the target URL as a parameter to the redirector, pass an index into this list.

Vulnerable URL: https://wakatime.com/settings/account?apikeyrefresh=true

Payload: " X-Forwarded-Host: bing.com "

How to reproduce this vulnerability:

  1. Open this URL " https://wakatime.com/settings/account?apikeyrefresh=true " and send it to the repeater in burp suite.
  2. add the payload to the header request and forward the request.
  3. It will directly redirect to bing.com

Impact

Impact: Whenever a user visits this URL, it will redirect them to site.com. It is used in phishing attacks.

Attachments

The original report as published on HackerOne, by jatingupta. 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 low-severity open redirect bug in WakaTime, rated CVSS 3.7. HackerOne made it public on 2 September 2019.

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 from WakaTime

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.