How I Found open-redirect vulnerability using virus total?
An open redirect existed in the redirectionUrl parameter of a login page, allowing an attacker to craft a link that sent victims to an arbitrary external site after login. The author found it by manually modifying the URL after automated payloads failed.
medium.com
Published on medium.com
https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdocs.google.com%2Fpresentation%2Fembed%3Fid%3D137rIo2zcC195QMAk4tFMS2RCRmZVGngsaIYowbYPePY%26size%3Dl&displayname=Google+Docs&url=https%3A%2F%2Fdocs.google.com%2Fpresentation%2Fd%2F137rIo2zcC195QMAk4tFMS2RCRmZVGngsaIYowbYPePY%2Fedit&image=https%3A%2F%2Flh7-us…
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 validated the redirect target too loosely, so a crafted hostname containing the trusted domain as a substring plus a backslash was accepted as a relative or trusted URL.
Impact
Because the vulnerable page is a login page, a victim who logs in through a crafted link could be redirected to an attacker-controlled site, which aids phishing; the report rates severity as high.
What the attacker needed
Victim clicks a crafted login link; victim logs in through that link
How it was found
- Query VirusTotal for the target domain to collect URLs not found in other sources.
- Notice a login URL with a redirectionUrl parameter pointing to another subdomain.
- Try replacing the parameter with an external site; it falls back to the default URL.
- Modify the URL so the trusted domain appears as part of the hostname; it shows not found.
- Insert a backslash after the external domain; the browser then redirects 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 whatever address is in it, even if that address belongs to someone else. Here the login page's redirectionUrl parameter could be tricked into sending a logged-in user to an attacker's site, which is useful for 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.