Open Redirect via redirect Parameter on Signup&Sign in Endpoint
The signup endpoint on komunitas.example.com accepts a redirect parameter and sends a 302 redirect to any external URL without validation. An attacker could use this to send users to phishing or malware sites while appearing to come from the trusted domain.
medium.com
Published on medium.com
I found a small but interesting issue on one of your assets โ specifically on komunitas.example.com.
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 uses the redirect parameter value directly in a Location header without validating that it points to a relative path or an allowed domain.
Impact
This could be used for phishing, redirecting users to malware or scam sites, and abusing trust in the real domain name.
What the attacker needed
None
The fix
The redirect parameter should be strictly validated to allow only relative paths or a whitelist of safe domains, blocking external URLs.
How it was found
- Log into komunitas.example.com, or use the endpoint without logging in.
- Visit the signup endpoint with the redirect parameter set to an external URL.
- Observe the server returning a 302 redirect to that external URL.
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 it's a different site. Here, the signup page's redirect parameter was not checked, so a link on the real domain could quietly send people to a fake or harmful 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.