How I Could Have Promoted Any Facebook Page For Free.
Facebook's ad system did not validate the amount on a payment card, allowing an attacker to start an ad campaign with insufficient funds. By changing the page admin after reaching the threshold, the attacker could repeatedly promote posts for free.
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
Facebook lets a page owner pay to show a post to more people through a feature called Boost Post, which sits below every image on a page. The researcher's write-up is about the advertising and billing flow behind that feature: you choose a budget and a duration, attach a card, and Facebook runs the ad. The report links to Facebook's own help page on promotions for background:
https://www.facebook.com/business/help/1189028774466371
The target of the write-up is that billing mechanism, not a web endpoint in the classic sense. The researcher's goal was to see whether the money side of the boost flow could be avoided.
Setup
The researcher created a fresh Facebook page and uploaded some images to it. Each image carried a Boost Post option.
The only other precondition was a payment card with a small balance. The researcher states that the card held only 4 to 5 US dollars, yet an ad was started for 100000 PKR, which the report describes as almost 1000 USD.
Finding it
Clicking Boost Post opened a form where the budget and the number of days for the ad are set.
The researcher filled in the form and clicked Boost. Facebook then asked for a valid card for the transaction.
The card was added and Continue was clicked. The post went into review.
The researcher expected a manual check to catch the mismatch between the card balance and the budget, and to block the ad. Instead, after a couple of minutes a notification arrived saying the ad had been approved.

That approval, for a budget far beyond the card's balance, is the anomaly the whole write-up turns on.
Exploitation
Step 1: Boost a post with a card that cannot cover the budget
The researcher waited a couple of hours and checked the result. The post had reached 34,792 people and received 7.1k likes.
Step 2: Understand why the ad stopped
After a while the ad stopped on its own. Reading around the topic, the researcher worked out the mechanism: when a post is boosted, Facebook does not charge the card immediately. It records the amount owed and collects it later, under the name Threshold Amount. The threshold has a limit. When the boosted post reaches 2500 PKR (20 to 25 dollars), the ad stops automatically and only restarts once that amount is paid. In the researcher's reading, this caps free promotion at 2500 PKR per run.
Attempts to change the threshold limit failed, and the researcher reports trying many different methods to bypass the protection without success, then leaving it.
Step 3: Change the page owner to reset the amount due
A few days later the researcher had the idea of changing the ownership of the page. The admin of the page was changed and the previous admin removed. After that, no amount due was shown. Repeating the same process would have allowed boosting as many posts as desired.
Step 4: Reproduce it from scratch
The report gives the reproduction steps as follows:
-
Create a Facebook Page and Boost a Post.
-
Add a Valid card which has at least 2-3 dollars in it.
-
The Ad will be started and it will run untill it reaches its threshold limit. You can check the summary of your ads and amout spent by going to the following url:
Text https://www.facebook.com/ads/manager -
Once the ad reaches its threshold limit, change the admin of the page and remove the previous admin.
-
Now start the whole process once again by boosting other or the same posts :)
Step 5: Report it and test the fraud detection claim
The issue was reported to Facebook. At first they could not reproduce it, so the researcher supplied as much information as possible. In the researcher's account, the underlying problem on Facebook's side was that the amount on the card was not being validated. After a few days of discussion they reproduced it and replied.
The reply indicated that Facebook was already aware of the issue but had been unable to reproduce it on the first report. The researcher highlights one line of the reply in particular: "This behavior will eventually get caught by our fraud detection."
Taking that as a challenge, the researcher created a brand new page, uploaded a video and some images, and boosted them using the same process repeatedly. The results:
The technique was not limited to posts. Pages themselves could also be promoted this way.
That page promotion produced 2,514 page likes and followers within a day.
Root cause
The report describes the flaw as a failure to validate the amount on the card: an ad was approved and delivered against a budget the card could not cover. The threshold mechanism stops an ad once the unpaid amount reaches its limit. Changing the page's admin and removing the previous admin cleared the amount due, so the cycle could start again. Changing the page's admin and removing the previous admin cleared the amount due, so the threshold no longer applied and the cycle could start again. The report does not describe the server-side logic beyond this, so the exact implementation is not stated.
Impact
An attacker with a page and a card holding a few dollars could run boosted posts and page promotions without paying, up to the threshold per cycle, and repeat the cycle by transferring page ownership. In the researcher's own runs this produced 34,792 people reached and 7.1k likes on one post, and 2,514 page likes and followers within a day on a promoted page. The report notes that Facebook said the behaviour would eventually be caught by fraud detection, and the researcher's follow-up test was an attempt to see whether that happened. The researcher was not awarded a bounty because Facebook was already aware of the issue.
Fix
The report says Facebook implemented some fixes, and the researcher notes that "Every Fix has a Bypass". The specific changes are not described. The report does not describe the specific changes. A fix would plausibly need to validate the card's available funds against the budget at approval time, and to keep the outstanding threshold amount from being cleared by a change of ownership.
Variants to test
- Ownership transfer on other ad platforms: create an ad account, run up spend to the threshold, then transfer ownership or admin rights and check whether the amount due follows the account or disappears. A positive result is a fresh, zero-balance billing state after the transfer.
- Card validation at approval: attach a card with a small balance and set a budget far above it. A positive result is the ad being approved and delivered rather than rejected.
- Threshold reset by other account changes: try removing and re-adding admins, changing the page's business manager, or moving the page between accounts, and watch the amount due. A positive result is the threshold resetting without payment.
- Page-level promotion: repeat the cycle on page promotion rather than post promotion, since the report shows both were affected. A positive result is page likes and followers accumulating without a charge.
What happened, in plain words
A security researcher found a way to promote Facebook posts and pages without paying for the ads. Facebook's advertising system let him start a campaign with a budget far larger than the money on his card, and it approved the ad anyway. The ad ran until an unpaid balance reached a limit, then stopped. By changing who owned the page, he could clear that unpaid balance and start again, repeating the cycle. He reported it, Facebook initially could not reproduce it, and later said they were already aware and that fraud detection would eventually catch it. He tested that claim and got more free promotion. He was not paid a bounty because Facebook already knew about the issue.
This write-up walks through the same story for someone who has never done security testing. You only need a browser and a computer to follow the ideas. The technical details are explained as they come up.
Background: what Facebook promotion is
Facebook lets a page owner pay to show a post to more people. The feature is called Boost Post and it appears below every image on a page. The researcher's write-up is about the advertising and billing flow behind that feature: you choose a budget and a duration, attach a card, and Facebook runs the ad. The report links to Facebook's own help page on promotions for background:
https://www.facebook.com/business/help/1189028774466371
That link is just a reference to Facebook's public help page. The target of the write-up is the billing mechanism, not a web endpoint in the classic sense. The researcher's goal was to see whether the money side of the boost flow could be avoided.
Setting up
The researcher created a fresh Facebook page and uploaded some images to it. Each image carried a Boost Post option.
The only other precondition was a payment card with a small balance. The researcher states that the card held only 4 to 5 US dollars, yet an ad was started for 100000 PKR, which the report describes as almost 1000 USD.
Finding the flaw
Clicking Boost Post opened a form where the budget and the number of days for the ad are set.
The researcher filled in the form and clicked Boost. Facebook then asked for a valid card for the transaction.
The card was added and Continue was clicked. The post went into review.
The researcher expected a manual check to catch the mismatch between the card balance and the budget, and to block the ad. Instead, after a couple of minutes a notification arrived saying the ad had been approved.

That approval, for a budget far beyond the card's balance, is the anomaly the whole write-up turns on.
Exploiting the flaw
Step 1: Boost a post with a card that cannot cover the budget
The researcher waited a couple of hours and checked the result. The post had reached 34,792 people and received 7.1k likes.
Step 2: Understand why the ad stopped
After a while the ad stopped on its own. Reading around the topic, the researcher worked out the mechanism: when a post is boosted, Facebook does not charge the card immediately. It records the amount owed and collects it later, under the name Threshold Amount. The threshold has a limit. When the boosted post reaches 2500 PKR (20 to 25 dollars), the ad stops automatically and only restarts once that amount is paid. In the researcher's reading, this caps free promotion at 2500 PKR per run.
Attempts to change the threshold limit failed, and the researcher reports trying many different methods to bypass the protection without success, then leaving it.
Step 3: Change the page owner to reset the amount due
A few days later the researcher had the idea of changing the ownership of the page. The admin of the page was changed and the previous admin removed. After that, no amount due was shown. Repeating the same process would have allowed boosting as many posts as desired.
Step 4: Reproduce it from scratch
The report gives the reproduction steps as follows:
-
Create a Facebook Page and Boost a Post.
-
Add a Valid card which has at least 2-3 dollars in it.
-
The Ad will be started and it will run untill it reaches its threshold limit. You can check the summary of your ads and amout spent by going to the following url:
Text https://www.facebook.com/ads/manager -
Once the ad reaches its threshold limit, change the admin of the page and remove the previous admin.
-
Now start the whole process once again by boosting other or the same posts :)
Step 5: Report it and test the fraud detection claim
The issue was reported to Facebook. At first they could not reproduce it, so the researcher supplied as much information as possible. In the researcher's account, the underlying problem on Facebook's side was that the amount on the card was not being validated. After a few days of discussion they reproduced it and replied.
The reply indicated that Facebook was already aware of the issue but had been unable to reproduce it on the first report. The researcher highlights one line of the reply in particular: "This behavior will eventually get caught by our fraud detection."
Taking that as a challenge, the researcher created a brand new page, uploaded a video and some images, and boosted them using the same process repeatedly. The results:
The technique was not limited to posts. Pages themselves could also be promoted this way.
That page promotion produced 2,514 page likes and followers within a day.
Root cause
The report describes the flaw as a failure to validate the amount on the card: an ad was approved and delivered against a budget the card could not cover. The threshold mechanism stops an ad once the unpaid amount reaches its limit. Changing the page's admin and removing the previous admin cleared the amount due, so the cycle could start again. Changing the page's admin and removing the previous admin cleared the amount due, so the threshold no longer applied and the cycle could start again. The report does not describe the server-side logic beyond this, so the exact implementation is not stated.
Impact
An attacker with a page and a card holding a few dollars could run boosted posts and page promotions without paying, up to the threshold per cycle, and repeat the cycle by transferring page ownership. In the researcher's own runs this produced 34,792 people reached and 7.1k likes on one post, and 2,514 page likes and followers within a day on a promoted page. The report notes that Facebook said the behaviour would eventually be caught by fraud detection, and the researcher's follow-up test was an attempt to see whether that happened. The researcher was not awarded a bounty because Facebook was already aware of the issue.
Fix
The report says Facebook implemented some fixes, and the researcher notes that "Every Fix has a Bypass". The specific changes are not described. The report does not describe the specific changes. A fix would plausibly need to validate the card's available funds against the budget at approval time, and to keep the outstanding threshold amount from being cleared by a change of ownership.
Variants to test
- Ownership transfer on other ad platforms: create an ad account, run up spend to the threshold, then transfer ownership or admin rights and check whether the amount due follows the account or disappears. A positive result is a fresh, zero-balance billing state after the transfer.
- Card validation at approval: attach a card with a small balance and set a budget far above it. A positive result is the ad being approved and delivered rather than rejected.
- Threshold reset by other account changes: try removing and re-adding admins, changing the page's business manager, or moving the page between accounts, and watch the amount due. A positive result is the threshold resetting without payment.
- Page-level promotion: repeat the cycle on page promotion rather than post promotion, since the report shows both were affected. A positive result is page likes and followers accumulating without a charge.
Glossary
- Boost Post: A Facebook feature that lets a page owner pay to show a post to more people.
- Threshold Amount: The unpaid amount that Facebook records when an ad runs; when it reaches a limit, the ad stops until payment is made.
- Admin: A person who manages a Facebook page, including changing its settings and ownership.
- Billing state: The record of how much money is owed for ads run on a page or account.
- Fraud detection: Automated systems that look for suspicious activity, such as unusual ad spending or payment patterns.
- Bounty: A reward paid by a company to a security researcher who reports a valid vulnerability.
- Vulnerability: A weakness in a system that can be exploited to cause harm or gain unauthorized access.
- Exploit: Taking advantage of a vulnerability to achieve a goal, such as getting free ads.
- Root cause: The underlying reason a vulnerability exists.
- Reproduce: To recreate a reported issue step by step to confirm it happens.
- Endpoint: A specific URL or interface where a system can be accessed programmatically.
- API: A set of rules that allows different software programs to communicate with each other.
- Cookie: A small piece of data stored by a website in your browser to remember information about you.
- Token: A piece of data used to authenticate a user or a request, often in place of a password.
- Logic flaw: A vulnerability that arises from a mistake in the design or implementation of a system's rules, rather than from a technical bug like a buffer overflow.
- PKR: Pakistani Rupee, the currency used in the report.
- USD: United States Dollar.
- Card validation: The process of checking that a payment card has sufficient funds or is otherwise valid for a transaction.
- Business Manager: A Facebook tool for managing multiple pages and ad accounts.
- Ad account: A Facebook account used to run and pay for advertisements.