Skip to content
Open redirect Disclosed report Intermediate

Homograph attack.

A Twitter URL-shortening link using an internationalised domain name (punycode) did not trigger the usual malicious-URL warning that Twitter shows for other links. An attacker could use such a link to send a victim to a spoofed site and trick them into entering credentials.

shivathegame Follow

Originally disclosed on HackerOne

  • Disclosed after 40 days

In the report 31193 cmiller said "Twitter does warn if the user tries to visit a malicious URL while passing through our t.co URL shortening service. Thanks!"

URL redirection warning not given for punny code URL.

ATTACK: I mainly envision using this as an attack against admins of programs that use twitter. for example, if a bad guy can put up a spoof site behind one of these IDN links that one of the admins carelessly enters their credentials into, then the bad guy can go do bad stuff against the target site...

Attachments

Untitled_52.mp4 From the original on HackerOne

The original report as published on HackerOne, by shivathegame. 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

Impact

A victim could be redirected to a spoofed site without the usual warning and may enter credentials there, though the text only describes this as a scenario the reporter envisions.

What the attacker needed

Victim clicks a shortened link; attacker controls a lookalike 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 web addresses can look identical to a real one but actually point to a different site, because letters from other alphabets can resemble Latin letters. This is called a homograph attack. The report says Twitter normally warns people before they follow a suspicious shortened link, but it did not warn for one of these lookalike addresses, so a person could be sent to a fake login page without any warning.

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 shivathegame

View all

3 more disclosed reports, best first.

More from X / xAI

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.