Skip to content
Open redirect Write-up Beginner

How I Found an Open Redirect Vulnerability Easily (Worth $500!)

An open redirect vulnerability was found on a login page where a crafted redirectionUrl parameter containing a backslash after the domain could redirect users to an attacker-controlled site. The author claims this could be used to send victims to a malicious site after login.

cybersecuritywriteups.com

Published on cybersecuritywriteups.com

Free Article Link : Click Here

Abhijeet kumawat, on cybersecuritywriteups.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 validated the redirect URL by checking if it contained the trusted domain as a substring, but did not properly parse the URL, allowing a backslash to bypass the check.

Impact

An attacker could craft a link that appears to be on the trusted domain but redirects the victim to a malicious site after login, potentially facilitating phishing.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Obtain URLs for the target domain using VirusTotal's domain report API.
  2. Identify a URL with a redirectionUrl parameter pointing to a login page.
  3. Try replacing the redirectionUrl value with an external domain; observe it redirects to the default URL.
  4. Modify the URL to include the external domain followed by a dot and the target domain, then add a backslash after the external domain's .com.
  5. Visit the crafted URL and observe redirection 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 a flaw where a website lets you specify where to go next, and it trusts any address you give it. Here, by adding a backslash after the domain name, the site's check was fooled and sent the user to an outside site. This can be used in phishing to make a malicious link look like it belongs to the trusted 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.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.