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.
Published on zerocode-ph.medium.com
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.
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
- Turn off link sharing in the parent dashboard.
- Try sending a normal link from a contact to the kid's account; the server blocks it.
- Append '.localhost' to the end of the URL.
- 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.