Open Redirect Bug | wedohacks
The login page accepts a redirect parameter that can point to an external domain, allowing an attacker to craft a link that sends users to a malicious site after login. The text claims this open redirection can be exploited by appending an external domain or using a bypass technique.
site:target.com inurl:url= | inurl:return= | inurl:next= | inurl:redirect= | inurl:redir= | inurl:ret= | inurl:r2= | inurl:page= | inurl:& | inurl:http
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 login page's redirect parameter is not validated against an allowlist of permitted destinations.
What the attacker needed
A free account; victim clicks a crafted link
How it was found
- Register and log in, then go to your user profile page and copy its URL.
- Log out and clear cookies, then go to the site homepage.
- Paste the copied profile URL into the address bar and press Enter; if prompted to log in, observe the login URL with a redirect parameter.
- Try changing the redirect parameter to an external domain, or use a crafted URL to bypass filters.
- Check if the site redirects you to the external 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 write-up 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, and it does not check that the destination is safe. An attacker can make a link that looks like it goes to the real site but actually sends you to a fake site that might steal your password. This report shows how to test for that by changing the redirect address in the login URL.
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.