Skip to content
Open redirect Disclosed report Beginner

Open Redirection in index.php page

The index.php page on HackerOne's website used a path parameter to build a redirect URL without proper validation. An attacker could craft a link that redirects victims to an attacker-controlled domain, enabling phishing.

prashantkumar96 Follow

Originally disclosed on HackerOne

Informational View original
  • Triaged in 19 hours
  • Fixed in 8 days
  • Paid in 8 days
  • Disclosed after 8 days

Summary: Redirection is performed by HackerOne website when index.php page is visited. The parameter to index.php is used in redirection. By manipulating this parameter, an attacker can redirect victim outside www.hackerone.com

Description: When a user visit www.hackerone.com/index.php/xyz, he/she is redirected to www.hackerone.com/xyz. However, when visiting www.hackerone.com/index.php/index.phpxyz, user will be redirected to www.hackerone.comxyz (without a slash between com and xyz).

Further, when visiting www.hackerone.com/index.php/index.php.hacker0ne.com, user will be redirected to www.hackerone.com.hacker0ne.com, a domain hacker0ne.com

Steps To Reproduce

  1. Visit https://www.hackerone.com/index.php/index.php.hacker0ne.com
  2. Notice that the site redirects to https://www.hackerone.com.hacker0ne.com/

Impact

Attacker can phish users

The original report as published on HackerOne, by prashantkumar96. 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 redirect logic concatenated user-controlled path input onto the trusted domain without validating the resulting hostname.

Impact

An attacker could phish users by redirecting them to a lookalike domain.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Visit the crafted URL with the malicious domain in the path.
  2. Observe that the browser is redirected to the attacker-controlled domain.

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 redirect is when a website sends your browser to a different address. Here, the site took part of the web address you typed and used it to decide where to send you next, without checking if the destination was safe. An attacker could make a link that looks like it goes to the real site but actually sends you to a fake one.

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 HackerOne

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.