Skip to content
Open redirect Write-up Beginner

Analysis Of A Whatsapp Scam

A WhatsApp scam link used the userinfo component of a URL to make a malicious domain appear to be the legitimate Trenitalia site. An attacker could trick users into visiting a phishing page by placing the real domain before an '@' symbol, while the actual destination is a different domain.

Angelo Pio Amirante Follow

Published on systemweakness.com

A few months ago, a friend sent me a link on WhatsApp. I wasn’t sure if it was bad or not, so I decided to check it out.

Angelo Pio Amirante, on systemweakness.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 URL authority component allows a userinfo subcomponent that is ignored when no authentication is required, so the visible trusted domain is not the actual host.

What the attacker needed

Victim clicks a link; link sent via WhatsApp

How it was found

  1. The attacker crafts a link with a trusted domain as userinfo before an '@' and a malicious domain after it.
  2. The attacker sends the link in a WhatsApp message with a fake offer preview.
  3. The victim clicks the link; the browser ignores the userinfo and navigates to the malicious 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.

A web address can contain a username and password before the '@' sign, like name:[redacted] Browsers ignore that part if the site doesn't ask for a login, so the real site visited is whatever comes after the '@'. Scammers put a trusted name before the '@' to make the link look safe, but the browser actually goes to the domain after it.

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 Angelo Pio Amirante

View all

5 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.