View the contact list for a Messenger Kid as a parent-approved contact
An approved contact of a Messenger Kids child could query a GraphQL field that returned the full list of parent-approved connections for that child. This exposed the names and identifiers of other approved contacts, which the app did not intend to share with them.
Messenger Kids is a messaging app for parents to moderate how kids contact friends and family. Parents can approve contacts in their list to talk to their child.
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 GraphQL resolver for the approved-connections field checked only that the caller was an approved contact, not that the caller was the parent or child who owns the list.
What the attacker needed
Messenger Kids enabled; a child account; an approved contact account
The fix
Facebook confirmed the issue was patched, presumably by restricting the approved-connections field to the parent or child rather than any approved contact.
How it was found
- Check that Messenger Kids is enabled for the account.
- Create a child account and add a contact, approving that contact.
- As the approved contact, send a GraphQL request for the child's approved connections.
- Observe the returned list of approved contacts with their identifiers and names.
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 a parent decide which people a child may chat with. The app stored that approved list, but it also let any one of those approved people ask the server for the whole list. That meant a family friend could learn the names of everyone else the child is allowed to talk to.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.