Skip to content
Open redirect Write-up Intermediate

open redirect using homographs

An open redirect vulnerability was found where the application redirected to any URL after a triple slash, but blocked dots. By using homograph characters that resemble a dot, the blacklist was bypassed and the user was redirected to an attacker-controlled domain.

eyaalgabay Follow

Published on medium.com

There are a lot of people talking about the vulnerabilities that they found, but i feel like no one publish 100% of the hacking content that i like. so i decided to share a bit about vulnerabilities and ideas that i found.

EyalSec, on 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 used a blacklist that blocked dots but did not normalise or reject homograph characters that are later converted to dots by the backend.

Impact

An attacker could craft a link that appears to belong to the trusted site but redirects victims to a malicious domain, which could be used for phishing or other attacks.

What the attacker needed

Victim clicks a crafted link

The fix

The application should validate redirect targets against an allowlist of permitted domains and normalise input to reject homograph characters, rather than relying on a blacklist of characters.

How it was found

  1. Fuzz common redirect parameters and paths with a payload wordlist.
  2. Observe that the site redirects to anything after '///' but returns 403 when a dot is included.
  3. Replace the dot with homograph characters that resemble a dot.
  4. The site redirects to the attacker-controlled 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 lets a malicious link send you to a fake site that looks like the real one. Here, the site tried to block this by rejecting dots in the address, but the attacker used lookalike characters that the system treated as a dot, so the redirect still worked.

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 eyaalgabay

View all

1 more disclosed report, 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.