Skip to content
Open redirect Disclosed report Intermediate

Domain spoofing in redirect page using RTLO

A redirect warning page displayed the wrong domain as the destination because a right-to-left override character in the URL reversed how the host was rendered. An attacker could craft a link that appears to lead to a trusted site while actually redirecting the victim elsewhere.

ashish_r_padelkar Follow

Originally disclosed on HackerOne

  • Triaged in 26 hours
  • Fixed in 24 days
  • Paid in 17 days
  • Disclosed after 41 days

Summary: Hello,

Domains can be spoofed on redirect page using RTLO.

Description (Include Impact):

Using http://[email protected] & RTLO method, i found a way where redirect page host detection can be spoofed

#Steps

  1. Insert this on report [Just Click Here](https://google.com@%E2%80%[email protected])
  2. On click of link, it will redirect to /redirect page . Here you will see that Twitter.com is highlighted domain. see screen shot below
  3. Ideally, if there is any malformed url, it shows some kind of warning but not in this case.
  4. Click on Proceed button and you will be redirected https://moc.rettiwt/ instead

Browser version, Device, etc

Tested on chrome for Mac but should work in all browsers

#POC link

https://google.com@%E2%80%[email protected]

###Screenshots

Screen_Shot_2017-12-19_at_10.08.08_PM.png
Screen_Shot_2017-12-19_at_10.08.08_PM.png From the original on HackerOne

Impact

This can be used to spoof urls on hackerone

Regards, Ashish

The original report as published on HackerOne, by ashish_r_padelkar. 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 page rendered the destination host without stripping or accounting for bidirectional control characters, so the displayed host did not match the real one.

Impact

An attacker could make a redirect warning show a trusted domain, helping to lure users to a malicious site; the report only demonstrates the spoofed display and redirect.

What the attacker needed

Victim clicks a crafted link; browser renders bidirectional text

How it was found

  1. Craft a link containing a username, an override character and a reversed domain.
  2. Click the link so it opens the redirect page.
  3. Observe that the trusted domain is shown as the destination.
  4. Click Proceed and note the actual redirect goes to the reversed 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.

Some characters in text change the direction it is displayed, so a web address can look like one site while actually pointing to another. The redirect warning page showed the trusted-looking name, so a person could be tricked into clicking through to an 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 ashish_r_padelkar

View all

13 more disclosed reports, best first.

More from HackerOne

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.