Disclose Full Admin List of any Facebook Applications
An endpoint in Facebook Business Manager that returns the admin list for assets did not check that the requested app belonged to the caller's business. An attacker could supply any app ID and receive the full list of that app's admins and developers.
Published on amolbaikar.com
In Facebook Business Manager, there is an endpoint that fetches the admin list particularly for pages, apps and more other assets. Meantime, call for Facebook Pages was secured but was vulnerable for the asset type apps.
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 admins endpoint authorised the request against the caller's business but did not verify that the supplied asset ID belonged to that business, so any app ID was accepted.
Impact
A malicious user could disclose the admin and developer list of any Facebook app, which could aid further targeting; the text does not claim account takeover.
What the attacker needed
A Facebook Business Manager account; knowledge of the target app ID
The fix
Facebook fixed the endpoint so the asset ID is checked against the caller's business before admins are returned.
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.
An IDOR (Insecure Direct Object Reference) happens when a website looks up a record using an identifier you send, but never checks that the record is yours. Here the identifier was an app ID, and the server returned the app's admin list to anyone who asked. The fix is to verify that the caller's business actually owns the requested asset before returning data.
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.