Strange Redirect (Fixed but no bounty)
The login page's redirect parameter allowed an attacker to craft a URL that redirected users to an attacker-controlled domain by appending a string to the legitimate domain. The attacker could register the resulting domain and use it for phishing or other malicious purposes.
Published on medium.com
The target has a bug bounty program but they fixed it without any response. 🤷🏻♂️
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 redirect parameter was concatenated to the site's domain without validating that the final destination stayed on the intended domain.
Impact
An attacker could redirect users to a domain they control that begins with the legitimate site's name, which could be used for phishing; the report does not show exploitation beyond the redirect.
What the attacker needed
Victim clicks a crafted link; attacker registers the look-alike domain
The fix
The issue was fixed, though the report does not describe the fix; it should be fixed by validating that the redirect target stays on an allowlisted domain.
How it was found
- Open the login page and notice the redirect parameter in the URL.
- Try various payloads; most return 403 Forbidden or do not redirect.
- Use a payload with encoded characters that results in a redirect to a domain starting with the target's name.
- Observe that appending text to the redirect value changes the final domain.
- Check whether the resulting domain is available for registration.
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 a flaw where a website sends you to another site based on a value in the link. Here, the site took the redirect value and stuck it onto its own domain name, so a crafted link could send people to a look-alike domain controlled by an attacker. That helps phishing because the link starts with the real site's address.
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.