Call/Message anyone on Facebook directly, bypassing the message r
A GraphQL mutation for managing parents of a Messenger Kids account allowed adding any Facebook user as a parent without their consent, and a later bypass using a different mutation action added them as a contact without notification. This let an attacker directly message or call any user, bypassing the normal message request flow.
Published on infosecwriteups.com
Messenger Kids accounts (“Neo accounts”) are meant for children under 13. Each kidaccount can be managed by:
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
The GraphQL mutation for adding a managing parent did not verify that the target user was a friend of the actor, and later a different mutation action lacked both friendship and parent-existence checks.
Impact
An attacker could directly message or call any Facebook user, bypassing the message request flow; the first version allowed the victim to see who added them and remove themselves, but the bypass hid the attacker's identity and made the kid account unblockable and untraceable.
What the attacker needed
Attacker controls a Messenger Kids account; victim is any Facebook user; no friendship required
The fix
Meta deployed a global fix across GraphQL mutations and Graph API endpoints to enforce friendship and parent-existence validation before any parent-management action.
How it was found
- Create a Messenger Kids account (Neo account) controlled by the attacker.
- Send a POST request to the GraphQL endpoint with the mutation to add a managing parent, setting the victim's user ID as managing_parent_id.
- The victim is added as a parent and appears in the child's approved contacts.
- The attacker can then directly message or call the victim via Messenger Kids.
- After the first fix, use the mutation action REMOVE_PARENT_AND_KEEP_AS_CONTACT with the victim's user ID to add them as a contact without notification.
- The attacker can again directly message or call the victim, now without the victim being able to easily identify or block the attacker.
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 is a version of Messenger for children, where a parent manages the child's account. The app had a feature to add parents, but it did not properly check if the person adding a parent was allowed to do so. This meant an attacker could add anyone as a parent of a child account they controlled, and then message or call that person directly, skipping the usual message request step.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.