Skip to content
Open redirect Write-up Beginner

I Tried a Simple Redirect Test… and Found a Filter Bypass | Cy

A redirect endpoint blocked direct external URLs but accepted a URL with a userinfo component, causing the browser to redirect to an attacker-controlled domain. An attacker could craft links that appear to belong to a trusted site but lead to a malicious page.

Cyber Tamarin Follow

Published on cybertamarin.medium.com

This time, that question led to an interesting redirect validation bypass hidden inside what looked like a harmless tracking endpoint.

Cyber Tamarin, on cybertamarin.medium.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 for the presence of a trusted domain string rather than parsing the URL and comparing the host component against an allowlist.

Impact

An attacker could craft URLs that appear to belong to a trusted site but redirect users to malicious pages, which could be used for phishing or chained with other vulnerabilities.

What the attacker needed

Victim clicks a crafted link

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.

A redirect endpoint takes a web address and sends the user there. The site tried to block bad addresses by checking if a trusted name appeared in the text. The tester put the trusted name before an '@' symbol, which browsers treat as a username, so the real destination became the attacker's 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 Cyber Tamarin

View all

9 more disclosed reports, best first.

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.