How I Found The open redirect vulnerability?
The login page accepted a returnTo parameter and redirected the user to an arbitrary external site after login. An attacker could craft a link that sends a victim to a malicious site after they log in.
medium.com
Published on medium.com
“https://medium.com/@doordiefordream/how-i-found-open-redirect-using-virus-total-460d721b9596”
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application used the returnTo parameter to decide where to redirect after login without validating that the destination was a trusted internal page.
Impact
A victim who logs in through a crafted link could be sent to an attacker-controlled site, which may be used for phishing; the report does not show any further harm.
What the attacker needed
Victim clicks a crafted login link; victim enters login details
How it was found
- Open the login page URL.
- Add a returnTo parameter pointing to an external site.
- Enter login details and submit the form.
- Observe the browser redirect 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 write-up has not been written yet. The Original tab links to the source.
An open redirect is when a website takes a link parameter and sends you to that address without checking it is safe. Here, after logging in, the site sent the user to an attacker-chosen site instead of back to its own pages. This can be used in phishing because the link starts on the real site.
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.