Skip to content
Open redirect Disclosed report Beginner

Open Redirect filter bypass through '\' character via URL parameter

An open redirect on a web application allowed bypassing a trusted-domain filter by placing a backslash before the trusted domain in the ref_url parameter. An attacker could craft a link that redirects victims to a phishing site while appearing to originate from a trusted domain.

cristiancornea Follow

Originally disclosed on HackerOne

  • Triaged in 16 hours
  • Fixed in 20 hours
  • Disclosed after 20 hours

Hi, I hope I find you all safe and good regarding those hard times nowadays.

Summary:

Found an Open Redirect vulnerability on http://meta.myndr.net by bypassing the trusted domain filter using a '' character.

I was able to get the original redirection URL from the register button located at http://dashboard.myndr.net/auth/login

Original Redirection URL

http://meta.myndr.net/latest/meta-data/filter-id/add?ref_url=http://dashboard.myndr.net/auth/register?id=

Malicious URL http://meta.myndr.net/latest/meta-data/filter-id/add/?ref_url=http://phishing.com\dashboard.myndr.net/../../../

The vulnerable URL parameter is ref_url

The trusted domain (or string) is dashboard.myndr.net

It can be bypassed only from its beginning! (between http:// and the string) and not after .net

Steps To Reproduce:

Navigate to : http://meta.myndr.net/latest/meta-data/filter-id/add/?ref_url=http://phishing.com\dashboard.myndr.net/../../../

You will be redirected to phising.com domain

PoC: attached to the report

Impact

  1. Phishing campaigns can be initiated using such a vulnerability
  2. It is an efficient way to bypass monitoring and email filters within an organization (the organization can check the "trust" level of each domains that they receive emails from)

Attachments

Screencast_04-05-2020_03_17_46_PM.webm From the original on HackerOne

The original report as published on HackerOne, by cristiancornea. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Root cause

Likely the redirect validation checked whether the trusted domain appeared at the start of the URL string rather than parsing the URL and comparing the actual host, so a backslash before the trusted domain tricked the check.

Impact

An attacker could use the redirect for phishing campaigns and to bypass monitoring and email filters that rely on domain trust levels.

What the attacker needed

Victim clicks a crafted link

How it was found

  1. Find the original redirection URL from the register button on the login page.
  2. Craft a malicious URL using the ref_url parameter with a backslash before the trusted domain.
  3. Navigate to the malicious URL and observe redirection to the attacker's 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 report 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 an attacker. Here the site tried to allow only links to its own trusted domain, but the check could be fooled by putting a backslash character before the trusted name. That let an attacker make a link that looked safe but actually sent people to a fake 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.

More by cristiancornea

View all

2 more disclosed reports, best first.

More from Myndr

View all

The newest disclosed reports for this program.

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.