Skip to content
Access control Write-up Intermediate

Whitehat test accounts can act as Hidden Admin with Business manager / Ad Accounts.

A whitehat test account could join a real Business Manager via an invitation link and then perform actions such as adding pages, assigning ad account access, and creating system users that were hidden from other real admins. This allowed a malicious admin to grant access to ad accounts and add hidden pages without other admins noticing.

Rohit Kumar Follow

Published on medium.com

#### Rohit kumar

Rohit kumar, on medium.com

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.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

This report concerns Facebook's Business Manager and its advertising accounts, accessed through the web interface. Business Manager is the product where a business owner invites people, manages pages, ad accounts, system users and partner businesses. The researcher's target was the interaction between Business Manager and Facebook's whitehat test accounts: special accounts that Facebook provides to security researchers for testing.

According to the report, Facebook documents the following limitations for whitehat test accounts:

  1. Can interact with other test accounts, but not with real accounts
  2. Are exempt from Facebook spam or fake account detection systems
  3. Cannot like Facebook pages or post to a page's Wall
  4. Cannot be converted to a real user account

The researcher's claim is that a malicious admin can use a test account inside a real Business Manager to act as a hidden admin, performing actions that other real admins and managers cannot see.

Setup

The reproduction requires three things:

  1. One whitehat test account
  2. One real user account
  3. One business account created by the real user account

No tools, versions or special configuration are mentioned. The whole flow happens through the normal web interface.

Finding it

The researcher started from the documented assumption that a test account cannot interact with real accounts. In practice, a malicious admin could bring a test account into a real Business Manager and, once inside, carry out administrative actions that were invisible to the genuine admins. The researcher tested this across several features and found the same hidden behaviour in each:

  1. Add hidden pages
  2. Hidden Ad account managers
  3. Hidden pages in partners business
  4. Can add a hidden system user

In every case, the actions taken through the test account, acting as a hidden Business Manager admin, were completely hidden from the other real admins.

Exploitation

Step 1: Send the invite

From the real user account, send an invite to the email address [redacted].

Step 2: Copy the signup link

Click the Resend email button and copy the signup link from the invitation.

Step 3: Join the business from the test account

From the whitehat test account, visit that signup link and join the business. The invitation link is accepted by a test account, so the test account becomes a member of a real Business Manager.

Step 4: Add a hidden page

From the whitehat test account, add any page that you created. That page is not visible to the other admins.

Step 5: Assign yourself to an ad account

Open the ad account list and assign yourself to an account. Other admins cannot see that you are managing that ad account.

Step 6: Add a hidden system user

Add a system user from the whitehat test account. Other admins cannot see that system user.

Step 7: Create a second business

Create another business with a few pages linked, from the whitehat test account.

Step 8: Add it as a partner

Add that business to the real business account as a partner. Other admins will not be able to see the list of linked pages in that business.

Root cause

The report does not describe the underlying code or design mistake. What it establishes is that a test account can accept a signup link and join a real business, contrary to the documented restriction. Once inside, the actions performed on pages, ad accounts, system users and partner businesses are not visible to the other admins. The report does not say why those actions are hidden.

Impact

A malicious admin can use a whitehat test account to perform hidden actions inside a real Business Manager. In the researcher's words, malicious admins can add pages, give ad account access permission to other malicious persons, and add new partner businesses with hidden pages inside those businesses. Because none of this is visible to the other admins, the activity can go unnoticed. The report does not quantify the risk further or state which conditions an attacker needs beyond the ability to invite and join as described.

Fix

Facebook reproduced the report, sent it to the appropriate product team, and later stated that the vulnerability had been patched. The researcher confirmed that he believed the patch resolved the issue. The bounty explanation summarises the issue as: whitehat test accounts can be invited to a regular Business Manager.

Variants to test

  1. Invitation links to other multi-tenant products: take an invitation or signup link from a real organisation and try to redeem it with a restricted, test or sandbox account type. A positive result is that the restricted account joins the real organisation.
  2. Visibility of membership: after joining, check whether the new member appears in the admin and member lists to other admins. A positive result is that the member is absent from those lists while still holding permissions.
  3. Hidden resource assignment: assign the restricted account to ad accounts, pages or system users and check the resource's own member list from a second real admin. A positive result is that the assignment works but is not shown.
  4. Partner businesses: link a second business containing pages as a partner and view the partner's linked pages from another admin. A positive result is that the pages are linked but not listed.
  5. Restricted account types generally: repeat the flow with any account class the vendor documents as unable to interact with real accounts, and check whether the restriction is enforced at the invitation step rather than only in the UI.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 6 min read.

What happened, in plain words

Facebook gives security researchers special accounts called whitehat test accounts. These are meant for testing, and Facebook says they have limits: they can only interact with other test accounts, not with real people's accounts. The researcher found that a malicious admin could bring a test account into a real Business Manager (a tool for managing business pages and ads) and use it to act as a hidden admin. Once inside, the test account could be used to add pages, assign itself to ad accounts, create system users, and link partner businesses, and none of these actions were visible to the real admins. Facebook fixed the issue and paid a bounty.

Image for post
Image for post From the original on medium.com

Context

This report is about Facebook's Business Manager and its advertising accounts, used through a web browser. Business Manager is a product where a business owner can invite people, manage pages, ad accounts, system users and partner businesses. The researcher looked at how Business Manager interacts with Facebook's whitehat test accounts: special accounts that Facebook provides to security researchers for testing.

According to the report, Facebook documents these limitations for whitehat test accounts:

  1. Can interact with other test accounts, but not with real accounts
  2. Are exempt from Facebook spam or fake account detection systems
  3. Cannot like Facebook pages or post to a page's Wall
  4. Cannot be converted to a real user account

The researcher's claim is that despite these limits, a malicious admin can bring a test account into a real Business Manager and use it to act as a hidden admin, doing things that other real admins and managers cannot see.

Setup

To reproduce the issue, you need three things:

  1. One whitehat test account
  2. One real user account
  3. One business account created by the real user account

No special tools, versions or configuration are mentioned. Everything happens through the normal web interface.

Finding it

The researcher started from the documented assumption that a test account cannot interact with real accounts. But in practice, a malicious admin could bring a test account into a real Business Manager and, once inside, carry out administrative actions that were invisible to the genuine admins. The researcher tested this across several features and found the same hidden behaviour in each:

  1. Add hidden pages
  2. Hidden Ad account managers
  3. Hidden pages in partners business
  4. Can add a hidden system user

In every case, the actions taken through the test account, acting as a hidden Business Manager admin, were completely hidden from the other real admins.

Exploitation

Step 1: Send the invite

From the real user account, send an invite to the email address [redacted].

Step 2: Copy the signup link

Click the Resend email button and copy the signup link from the invitation.

Step 3: Join the business from the test account

From the whitehat test account, visit that signup link and join the business. The invitation link is accepted by a test account, so the test account becomes a member of a real Business Manager.

Step 4: Add a hidden page

From the whitehat test account, add any page that you created. That page is not visible to the other admins.

Step 5: Assign yourself to an ad account

Open the ad account list and assign yourself to an account. Other admins cannot see that you are managing that ad account.

Step 6: Add a hidden system user

Add a system user from the whitehat test account. Other admins cannot see that system user.

Step 7: Create a second business

Create another business with a few pages linked, from the whitehat test account.

Step 8: Add it as a partner

Add that business to the real business account as a partner. Other admins will not be able to see the list of linked pages in that business.

Root cause

The report does not describe the underlying code or design mistake. What it establishes is that a test account can accept a signup link and join a real business, contrary to the documented restriction. Once inside, the actions performed on pages, ad accounts, system users and partner businesses are not visible to the other admins. The report does not say why those actions are hidden.

Impact

A malicious admin can use a whitehat test account to perform hidden actions inside a real Business Manager. In the researcher's words, malicious admins can add pages, give ad account access permission to other malicious persons, and add new partner businesses with hidden pages inside those businesses. Because none of this is visible to the other admins, the activity can go unnoticed. The report does not quantify the risk further or state which conditions an attacker needs beyond the ability to invite and join as described.

Fix

Facebook reproduced the report, sent it to the appropriate product team, and later stated that the vulnerability had been patched. The researcher confirmed that he believed the patch resolved the issue. The bounty explanation summarises the issue as: whitehat test accounts can be invited to a regular Business Manager.

Variants to test

  1. Invitation links to other multi-tenant products: take an invitation or signup link from a real organisation and try to redeem it with a restricted, test or sandbox account type. A positive result is that the restricted account joins the real organisation.
  2. Visibility of membership: after joining, check whether the new member appears in the admin and member lists to other admins. A positive result is that the member is absent from those lists while still holding permissions.
  3. Hidden resource assignment: assign the restricted account to ad accounts, pages or system users and check the resource's own member list from a second real admin. A positive result is that the assignment works but is not shown.
  4. Partner businesses: link a second business containing pages as a partner and view the partner's linked pages from another admin. A positive result is that the pages are linked but not listed.
  5. Restricted account types generally: repeat the flow with any account class the vendor documents as unable to interact with real accounts, and check whether the restriction is enforced at the invitation step rather than only in the UI.

Glossary

  • Business Manager: a Facebook tool for managing business pages, ad accounts, system users and partner businesses.
  • Whitehat test account: a special Facebook account for security researchers to test features without affecting real users.
  • Admin: a user with full control over a business or page.
  • Ad account: a Facebook account used to run and manage advertisements.
  • System user: a non-human user in Business Manager that can be given access to pages and ad accounts for automated tasks.
  • Partner business: another business that is linked to yours, often to share pages or ad accounts.
  • Invitation link: a URL sent by email that allows someone to join a business.
  • Vulnerability: a weakness in a system that can be exploited to do something unintended.
  • Authorization: the process of checking whether a user has permission to perform an action.
  • Broken authorization: a vulnerability where the system does not properly check permissions, allowing users to do things they shouldn't.
  • Bounty: a reward paid by a company for reporting a security vulnerability.
  • Patch: a fix for a vulnerability.
  • Reproduction (repro): the steps to recreate a vulnerability.
  • Impact: the potential harm that could result from exploiting a vulnerability.
  • Root cause: the underlying reason why a vulnerability exists.
  • Multi-tenant: a system where multiple organisations (tenants) share the same infrastructure but have separate data.
  • Sandbox: a testing environment that is isolated from production.
  • UI (User Interface): the visual part of a website or app that users interact with.

More by Rohit Kumar

View all

7 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.