Skip to content
Business logic Write-up Beginner

Bypassing Link Sharing Protection

A parent's link-sharing control in Messenger Kids could be bypassed by appending '.localhost' to a URL, allowing a contact to send a link that the server would otherwise block. The attacker could thus send links to a child's account despite the restriction.

Syd Ricafort Follow

Published on zerocode-ph.medium.com

Bounty$500 View original

Hello guys, this is Syd again for another article. Today I will share one of my findings in Meta BBP on how I bypassed link protection in Messenger Kids.

Syd Ricafort (0cod3), on zerocode-ph.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 server's link detection did not account for URLs with extra subdomains or suffixes like '.localhost', so it failed to recognise them as links.

What the attacker needed

Parent has link sharing turned off; attacker is a contact of the kid

The fix

The vulnerability was fixed according to the report timeline.

How it was found

  1. Turn off link sharing in the parent dashboard.
  2. Try sending a normal link from a contact to the kid's account; the server blocks it.
  3. Append '.localhost' to the end of the URL.
  4. Send the modified URL; the server does not block it and the message is delivered.

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.

Messenger Kids lets parents turn off link sharing so their child cannot receive web links. The server checks messages for links and blocks them. The researcher found that if you add '.localhost' to the end of a web address, the server no longer recognises it as a link, so the message gets through.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by Syd Ricafort

View all

1 more disclosed report, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.