Skip to content
Open redirect Disclosed report Beginner

[https://█████████/]&&[https://█████████/] Open Redirection

The login endpoint's 'next' parameter was not properly validated, allowing an attacker to redirect victims to an external site after registration. This could be used to simplify phishing attacks.

mandark Follow

Originally disclosed on HackerOne

Medium 4.3 View original
  • Triaged in 12 hours
  • Fixed in 3 days
  • Paid in 17 hours
  • Disclosed after 2.9 years

Summary by the researcher

Open Redirection issue : Payload : ///////////////////////////evil.com

The report

Summary

Hi Team,

An attacker can redirect vicitm on an external website using https://████/account/login endpoint because next parameter is not being validated properly.

Affected URL

https://███/account/login/?next=///////////////////////////evil.com

Steps to Reproduce

  1. Go https://████/account/login/?next=%2Fapp%2F .
  2. Add this payload ////////////////////////////evil.com to the ?next= parameter .
  3. Registeran account in the normal way .
  4. You will be redirected to evil.com website .

POC

2019-04-13_00-26-10.mp4 From the original on HackerOne

References

Impact

  • Open redirects allow a malicious attacker to redirect people unknowingly to a malicious

website .

  • Simplifies phishing attacks .

The original report as published on HackerOne, by mandark. 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 application failed to validate that the 'next' parameter only contains a relative path or an allowed domain, allowing an external URL to be used.

Impact

An attacker could redirect victims to a malicious website, simplifying phishing attacks.

What the attacker needed

Victim clicks a crafted link; victim registers an account

How it was found

  1. Go to the login page with a next parameter set to a relative path.
  2. Replace the next parameter value with a payload pointing to an external site.
  3. Register an account normally.
  4. Observe that you are redirected to the external site.

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.

An open redirect is when a website lets you specify where to go after logging in, but doesn't check that the destination is safe. Here, the 'next' parameter could be set to an attacker's site, so after registering, the victim is sent to evil.com instead of the real site. This makes phishing easier because the link starts with the trusted domain.

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 mandark

View all

1 more disclosed report, best first.

More from Lyst

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.