Open redirect filter bypass
The logout endpoint's returnTo parameter was not properly validated, allowing a crafted value to redirect users to an external site. An attacker could use this to send victims to a phishing page that appears to originate from the trusted domain.
- Triaged in 3 days
- Fixed in 10 days
- Paid in 10 days
- Disclosed after 36 days
Hi ,
An open redirect is an application that takes a parameter and redirects a user to the parameter value without any validation. This vulnerability is used in phishing attacks to get users to visit malicious sites without realizing it.
its possible to bypass your redirect filter using : https://www.zaption.com/logout?returnTo=///evil.com/
`HTTP/1.1 302 Moved Temporarily Access-Control-Allow-Origin: Cache-Control: private, must-revalidate Content-Type: text/html; charset=utf-8 Date: Sun, 19 Jul 2015 10:55:48 GMT Location: ///evil.com P3P: CP="Zaption does not have a P3P policy. See privacy policy at http://zapt.io/privacy" Pragma: no-cache Vary: Accept, Accept-Encoding Content-Length: 78 Connection: keep-alive
<p>Moved Temporarily. Redirecting to <a href="///evil.com">///evil.com</a></p>`Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could craft a link that redirects victims from the trusted site to a malicious site, which may be used for phishing.
What the attacker needed
Victim clicks a crafted link
The fix
The redirect target should be validated or restricted to safe destinations.
How it was found
- Send a request to the logout endpoint with the returnTo parameter set to a triple-slash external address.
- Observe the server responds with a 302 redirect pointing to the external address.
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 report has not been written yet. The Original tab links to the source.
An open redirect happens when a website lets you choose where it sends you next, without checking that the destination is safe. Here, the site tried to block external links but a specially formed address slipped past the check, so a victim could be sent to a fake login page that looks legitimate.
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.