[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.
- 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
- Go https://████/account/login/?next=%2Fapp%2F .
- Add this payload
////////////////////////////evil.comto the?next=parameter . - Registeran account in the normal way .
- You will be redirected to evil.com website .
POC
References
- https://hackerone.com/reports/347645
- https://hackerone.com/reports/125003
- https://hackerone.com/reports/411723
Impact
- Open redirects allow a malicious attacker to redirect people unknowingly to a malicious
website .
- Simplifies phishing attacks .
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
- Go to the login page with a next parameter set to a relative path.
- Replace the next parameter value with a payload pointing to an external site.
- Register an account normally.
- 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.