Skip to content
Open redirect Write-up Beginner

Unveiling The Truth An Investigation Into The Case Of Manoj Dhamala

A Facebook post appeared to be from a legitimate news source but actually linked to a different site. The attacker used a PHP script to detect Facebook's crawler and show it a fake preview, while real users were redirected to a phishing page.

sushil phuyal Follow

Published on infosecwriteups.com

A few weeks ago, I was introduced to Manoj Dhamala, a social media influencer who currently resides in Sydney and is the owner of a digital marketing company called M.D. Creation.

sushil phuyal, on infosecwriteups.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

Impact

Attackers could create fake social media previews to lure victims into clicking malicious links, potentially leading to phishing or malware distribution.

What the attacker needed

Victim clicks a link; attacker controls a server

How it was found

  1. The attacker created a PHP script that checks the user-agent string.
  2. If the user-agent contains 'facebookexternalhit', the script redirects to a legitimate news post.
  3. Otherwise, the script displays a different page (the phishing site).
  4. The attacker shared the link on Facebook, so the crawler fetched the legitimate preview.
  5. Real users clicking the link were redirected to the phishing site.

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.

When you share a link on social media, the site fetches a preview by visiting the link with a special bot. Here, the attacker made their server show a fake preview to that bot, so the post looked like it came from a trusted news site. Real people clicking the link were sent to a different, malicious page.

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 sushil phuyal

View all

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