Business user Employees could have applied block list to all ad accounts listed in the business manager.
An employee-level user in a Facebook Business Manager could apply a block list to all ad accounts in the business, a setting that should only be available to admins. This allowed an employee to change blocking settings across the entire business without authorisation.
Published on medium.com
{{media:0}}
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.
Context
Meta's Business Manager lets an organisation group its ad accounts and the people who work on them. Within that product there is a block list feature: a list of blocked entries, held as CSV or TXT, that can be applied to ad accounts so that the entries are excluded from advertising. The researcher's own summary of the feature is that a business user employee can add, edit or delete a CSV or TXT block list and can apply the same setting to all ad accounts or to specified ad accounts.
The report cites Meta's own documentation at https://www.facebook.com/business/help/442345745885606 for the rule that Facebook employees are not authorised to add, edit or change any data of a business manager account. Facebook's stated position was that employees are supposed to be able to create and edit block lists and apply them to ad accounts they manage, and that the real issue would be editing someone else's block list or applying one to ad accounts they do not manage.
The write-up was produced during BountyCon 2019 in Singapore, after a run of reports that came back as NA and Informative. The researcher went back to Business Manager and dug more deeply into it.
Setup
The testing needed two roles inside one business manager:
- A business manager account.
- At least one employee added to it.
- For the later reproduction, two admins: an old admin with full access, and a second, newer admin that can be shifted between employee and admin from the first admin's account.
The researcher also used the access token debugger at https://developers.facebook.com/tools/debug/accesstoken to check the properties of the token used in the request. The report does not give the Graph API version beyond the v3.2 that appears in the endpoint URL.
Finding it
The block list settings page is reachable at a settings URL that is not available to employees:
https://business.facebook.com/settings/block-lists?business_id=BUSINESS_ID
While exploring, the researcher found a second URL for the same feature, https://business.facebook.com/block_lists?business_id=YOUR_BUSINESS_ID_HERE, which an employee account could open. From that page an employee could add, edit or change block lists, and could apply the setting to all ad accounts or to specified ad accounts. In the researcher's words, the employee could manage the block list completely, doing every step as if they were an admin.
This looked wrong because the settings URL is deliberately hidden from employees, yet the underlying page was still reachable. The researcher notes having reported a similar pattern a few months earlier, where a link was accessible without any protection and Facebook was "just hiding link" (report id #900076046855556).
Exploitation
Step 1: create the business manager and add an employee
Create a business manager account and add any employee to it. The employee account is the low-privileged actor for the rest of the test.
Step 2: open the block list page directly as the employee
From the employee account, visit the block list URL manually:
https://business.facebook.com/block_lists?business_id=YOUR_BUSINESS_ID_HERE
The page is normally reached from the settings URL, which employees cannot access. Typing the block list URL directly bypasses that hiding and loads the page for the employee.
Step 3: manage the block list
From the page, add, edit or change the block list. The researcher's summary is that the employee can add, edit or delete a CSV or TXT block list and can apply the same setting to all ad accounts or to specified ad accounts.
Step 4: apply the block list to every ad account in the business manager
The first response from Facebook's security team was that employees are supposed to be able to create and edit block lists and apply them to ad accounts they manage, and that the real issue would be editing someone else's block list or applying one to ad accounts the employee does not manage. The researcher replied that they could apply the block list to all ad accounts of the current business manager, which is not allowed from an employee account, and gave this reproduction.
Send a request to this endpoint:
https://graph.facebook.com/v3.2/block_list_id/auto_applied_businesses?access_token=CURRENT_ACCESS_TOKEN_FROM_YOUR_ACCOUNT
with this POST body:
_reqName: object:blocklistID/auto_applied_businesses
_reqSrc: AdsBLApplyActions
business_id: BUSINESS_ID_HERE
is_auto_blocking_on: true
locale: en_GB
method: post
pretty: 0
suppress_http_code: 1
The request goes to this endpoint with this POST body. The _reqName and _reqSrc fields identify the object and the action the web client is performing. The researcher attached a screenshot of the request and response.
The video PoC shows the reproduction in the browser.
Step 5: rule out a timing issue
Facebook's security team suggested the mutation might succeed only if an admin is demoted while still on the block list page, and said they had trouble reproducing it because the mutation fails if you wait a bit longer. The researcher disagreed: they checked the mutation after one hour and it was still working. They also checked the access token in the debugger, which showed the token would never expire, so an expiring token did not explain it either. A screenshot of that check was attached.
Step 6: hand over test accounts
The security team asked for the testing accounts, businesses and block lists used, since the configuration might differ from theirs. The researcher supplied credentials for the business and for two admins, one old admin with full access and one newer admin to be shifted between employee and admin from the first admin's account, and pointed to the video PoC for clarification. Those credentials are not reproduced here.
Root cause
Facebook's first position was that employee access to block lists is intended, and that the boundary is whether the employee can touch block lists or ad accounts they do not manage. The researcher's reproduction crossed that boundary: an employee could apply a block list to all ad accounts of the business manager, which the employee UI does not allow. The security team's initial hypothesis was a timing issue, where a demoted admin's session could still complete the mutation; the researcher's one-hour recheck and the non-expiring token argued against that. Facebook later confirmed it had reproduced and root-caused the issue, so the exact defect is not described in the report. The report does not state what the fix changed.
Impact
An employee of a business manager, a role that is not supposed to change business-level data, could add, edit or delete block lists and apply a block list to all ad accounts in the business manager, or to specified ad accounts, doing every step as if they were an admin. The researcher's framing is that this is a privacy and authorisation problem: the employee manages settings that belong to the business rather than to them. The bounty was 500 USD and the report was disclosed on 17 June 2019.
Fix
Facebook said it had looked into the issue and believed the vulnerability had been patched, and the researcher confirmed they believed it was patched.
Variants to test
- Look for a second URL for a feature whose settings page is hidden from a low-privileged role, and open it directly as that role. A positive result is the page loading and its actions working for the employee.
- Take an action that the UI only offers to admins and replay it as an employee against the Graph API endpoint behind it. A positive result is the mutation succeeding for the employee.
- Test whether a mutation still succeeds after the actor's role is changed, and recheck after a long delay, as the researcher did after one hour. A positive result is the mutation succeeding well after the role change.
- Check the token used for the mutation in the access token debugger. A positive result is a token that does not expire, which rules out expiry as the explanation for a successful replay.
- Try applying a business-level setting to all objects in the business, not just the ones the actor manages. A positive result is the setting taking effect on objects outside the actor's scope.
What happened, in plain words
Meta (the company behind Facebook) runs a product called Business Manager. Think of it as a shared office for a company's advertising: it holds the company's ad accounts (the accounts that actually run ads) and the people who work on them. Inside that office, people have roles. An admin is like the office manager and can change anything. An employee is like a staff member who is meant to do day-to-day work but not change the company's overall settings.
One of the settings in that office is a block list. A block list is simply a list of entries, stored as a CSV or TXT file, that you can apply to ad accounts so those entries are excluded from advertising. The researcher's own summary is that a business user employee can add, edit or delete a CSV or TXT block list, and can apply the same setting to all ad accounts or to specified ad accounts.
The report cites Meta's own documentation at https://www.facebook.com/business/help/442345745885606 for the rule that Facebook employees are not authorised to add, edit or change any data of a business manager account. Facebook's stated position was that employees are supposed to be able to create and edit block lists and apply them to ad accounts they manage, and that the real issue would be editing someone else's block list or applying one to ad accounts they do not manage.
The write-up was produced during BountyCon 2019 in Singapore, after a run of reports that came back as NA and Informative. The researcher went back to Business Manager and dug more deeply into it.


Setting up the test
The testing needed two roles inside one business manager:
- A business manager account.
- At least one employee added to it.
- For the later reproduction, two admins: an old admin with full access, and a second, newer admin that can be shifted between employee and admin from the first admin's account.
The researcher also used the access token debugger at https://developers.facebook.com/tools/debug/accesstoken to check the properties of the token used in the request. The report does not give the Graph API version beyond the v3.2 that appears in the endpoint URL.
Finding it
The block list settings page is reachable at a settings URL that is not available to employees:
https://business.facebook.com/settings/block-lists?business_id=BUSINESS_ID
This is a web address. The part after business_id= is a placeholder for the number that identifies a particular business manager. The point of the line is that this is the official settings page for block lists, and employees are not supposed to be able to open it.
While exploring, the researcher found a second URL for the same feature, https://business.facebook.com/block_lists?business_id=YOUR_BUSINESS_ID_HERE, which an employee account could open. From that page an employee could add, edit or change block lists, and could apply the setting to all ad accounts or to specified ad accounts. In the researcher's words, the employee could manage the block list completely, doing every step as if they were an admin.
This looked wrong because the settings URL is deliberately hidden from employees, yet the underlying page was still reachable. Hiding a door is not the same as locking it: if the page behind it still loads when you type its address, the restriction is only cosmetic. The researcher notes having reported a similar pattern a few months earlier, where a link was accessible without any protection and Facebook was "just hiding link" (report id #900076046855556).
Exploitation
Step 1: create the business manager and add an employee
Create a business manager account and add any employee to it. The employee account is the low-privileged actor for the rest of the test.
Step 2: open the block list page directly as the employee
From the employee account, visit the block list URL manually:
https://business.facebook.com/block_lists?business_id=YOUR_BUSINESS_ID_HERE
This is the same kind of web address as before, but a different path: block_lists instead of settings/block-lists. The page is normally reached from the settings URL, which employees cannot access. Typing the block list URL directly bypasses that hiding and loads the page for the employee.
Step 3: manage the block list
From the page, add, edit or change the block list. The researcher's summary is that the employee can add, edit or delete a CSV or TXT block list and can apply the same setting to all ad accounts or to specified ad accounts.
Step 4: apply the block list to every ad account in the business manager
The first response from Facebook's security team was that employees are supposed to be able to create and edit block lists and apply them to ad accounts they manage, and that the real issue would be editing someone else's block list or applying one to ad accounts the employee does not manage. The researcher replied that they could apply the block list to all ad accounts of the current business manager, which is not allowed from an employee account, and gave this reproduction.
Send a request to this endpoint:
https://graph.facebook.com/v3.2/block_list_id/auto_applied_businesses?access_token=CURRENT_ACCESS_TOKEN_FROM_YOUR_ACCOUNT
This line is a request to the Graph API, which is the way programs talk to Facebook's servers directly, without going through the normal web page. You can think of the web page as a waiter taking your order, and the API as the kitchen door you can walk through yourself. The address has several parts:
with this POST body:
_reqName: object:blocklistID/auto_applied_businesses
_reqSrc: AdsBLApplyActions
business_id: BUSINESS_ID_HERE
is_auto_blocking_on: true
locale: en_GB
method: post
pretty: 0
suppress_http_code: 1
A POST body is the extra information sent along with the request, the way an order form accompanies the address on an envelope. Line by line:
The request goes to this endpoint with this POST body. The _reqName and _reqSrc fields identify the object and the action the web client is performing. The researcher attached a screenshot of the request and response.
The video PoC shows the reproduction in the browser. A PoC, or proof of concept, is a recording or set of steps that shows the problem actually happening, so the other side can see it rather than take it on trust.
Step 5: rule out a timing issue
Facebook's security team suggested the mutation might succeed only if an admin is demoted while still on the block list page, and said they had trouble reproducing it because the mutation fails if you wait a bit longer. A mutation here just means a request that changes data, as opposed to one that only reads it. The team's idea was that the change might slip through in a brief window, like a door that stays unlocked for a moment after someone's key is taken away.
The researcher disagreed: they checked the mutation after one hour and it was still working. They also checked the access token in the debugger, which showed the token would never expire, so an expiring token did not explain it either. A screenshot of that check was attached.
Step 6: hand over test accounts
The security team asked for the testing accounts, businesses and block lists used, since the configuration might differ from theirs. The researcher supplied credentials for the business and for two admins, one old admin with full access and one newer admin to be shifted between employee and admin from the first admin's account, and pointed to the video PoC for clarification. Those credentials are not reproduced here.
Root cause
Facebook's first position was that employee access to block lists is intended, and that the boundary is whether the employee can touch block lists or ad accounts they do not manage. The researcher's reproduction crossed that boundary: an employee could apply a block list to all ad accounts of the business manager, which the employee UI does not allow. The UI, or user interface, is what you see and click in the browser.
The security team's initial hypothesis was a timing issue, where a demoted admin's session could still complete the mutation; the researcher's one-hour recheck and the non-expiring token argued against that. Facebook later confirmed it had reproduced and root-caused the issue, so the exact defect is not described in the report. The report does not state what the fix changed.
Impact
An employee of a business manager, a role that is not supposed to change business-level data, could add, edit or delete block lists and apply a block list to all ad accounts in the business manager, or to specified ad accounts, doing every step as if they were an admin. The researcher's framing is that this is a privacy and authorisation problem: the employee manages settings that belong to the business rather than to them. The bounty was 500 USD and the report was disclosed on 17 June 2019.
Fix
Facebook said it had looked into the issue and believed the vulnerability had been patched, and the researcher confirmed they believed it was patched.
Variants to test
- Look for a second URL for a feature whose settings page is hidden from a low-privileged role, and open it directly as that role. A positive result is the page loading and its actions working for the employee.
- Take an action that the UI only offers to admins and replay it as an employee against the Graph API endpoint behind it. A positive result is the mutation succeeding for the employee.
- Test whether a mutation still succeeds after the actor's role is changed, and recheck after a long delay, as the researcher did after one hour. A positive result is the mutation succeeding well after the role change.
- Check the token used for the mutation in the access token debugger. A positive result is a token that does not expire, which rules out expiry as the explanation for a successful replay.
- Try applying a business-level setting to all objects in the business, not just the ones the actor manages. A positive result is the setting taking effect on objects outside the actor's scope.
Glossary
- Business Manager: Meta's product for grouping a company's ad accounts and the people who work on them.
- Ad account: the account that actually runs advertising.
- Admin: a role with full control over a business manager.
- Employee: a lower-privileged role meant to do day-to-day work without changing business-level settings.
- Block list: a list of entries, stored as CSV or TXT, that can be applied to ad accounts so those entries are excluded from advertising.
- CSV / TXT: plain text file formats; CSV separates values with commas.
- URL: a web address.
- API: a way for programs to talk to a service's servers directly, without the normal web page.
- Graph API: Meta's API for reading and changing data on its platform.
- Endpoint: a specific address in an API that performs a particular operation.
- Access token: a long string that proves which account a request comes from, like a wristband at an event.
- Access token debugger: a Meta tool that shows the properties of a token, such as when it expires.
- POST request: a request that changes data, as opposed to one that only reads it.
- POST body: the extra information sent with a request, like an order form with an envelope.
- Mutation: a request that changes data.
- UI (user interface): what you see and click in the browser.
- PoC (proof of concept): a recording or set of steps showing a problem actually happening.
- Broken authorisation: a flaw where the system knows who you are but does not properly check what you are allowed to do.
- Logic flaw: a mistake in how the rules of a feature are implemented, rather than in low-level code.
- NA / Informative: report outcomes where the platform does not treat the issue as a valid security bug.
- CVSS: a standard scoring system for the severity of a vulnerability.
- Bounty: a payment made by a company for a valid security report.
- BountyCon: a security conference; the researcher was working during BountyCon 2019 in Singapore.