Skip to content
Info disclosure Write-up Beginner

This is how I managed to win $2000 through Facebook Bug Bounty

When a page admin replied to a message with a link through the Page Manager app, the message was sent from the admin's personal profile instead of the page. This could expose the admin's identity and cause reputational harm.

Saugat Pokharel Follow

Published on medium.com

Bounty$2,000 View original

{{media:0}}

Saugat Pokharel, 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. 7 min read.

Context

Facebook Pages have a shared inbox that admins use to answer messages sent by followers. The official Page Manager app is the tool the researcher used to handle those conversations. Normally, a reply typed in the Page Manager inbox is delivered as the Page, so the follower sees the Page name and not the person behind it.

The report describes a logic flaw in that flow: when the reply contained a link, the message was delivered from the admin's personal profile instead of the Page. Facebook later described the issue in its bounty message as "Replying to messages with links lead to page admin disclosure".

The researcher, Saugat Pokharel from Kathmandu, Nepal, is an admin of the Facebook Page "Students of Nepal" (fb.com/studentofnepal), which publishes educational information and current topics about Nepal.

Setup

  • Role: admin of the Facebook Page "Students of Nepal".
  • Tool: the Page Manager app, described in the report as the official Facebook app for managing Pages.
  • Device: Apple iPad Pro 11 inch, 2018 version.
  • Operating system: iOS 12.3.4.
  • Precondition: the Page receives messages from followers and the admin replies to them from the Page inbox.

No special account, proxy or custom tooling was used. The finding came out of ordinary Page administration.

Finding it

On Monday 24 June, news spread on Facebook that a recently banned political party had announced an educational strike for the following day. The Page inbox filled with questions about whether there would be a holiday. The researcher answered each one with the same text, "Please ask your college and get confirmed."

Three girls from St. Xavier's School, Godavari asked, "Is there any possibility of holiday tomorrow?" The researcher replied, "Please kindly contact your college administration." They asked, "Do you think our college will provide us holiday?", and the reply was "Most probably". They answered "Hope so." Every reply and its timing matched across the three conversations, which the researcher found odd and asked about. The answer was "Unemployment", jokingly.

Image for post
Conversation in page goes like this. From the original on medium.com

Conversation in page goes like this.

Image for post
The term ‘Berojgarr’ is a Nepalese word for unemployment which they said jokingly. From the original on medium.com

The term 'Berojgarr' is a Nepalese word for unemployment which they said jokingly.

The researcher then replied, "Please visit merojob.com or other job seeking sites for better job opportunities." This message was written for the first person and copied to the other two.

While waiting for their answers, the researcher saw that the latest message had been sent through the personal profile rather than the Page. That is the anomaly: a reply composed inside the Page Manager inbox appeared to the recipients as a message from the admin as a private person.

Image for post
The message which was sent through my personal ID when replying through page manager app. From the original on medium.com

The message which was sent through my personal ID when replying through page manager.

The researcher sent an apology to all three, explaining that communicating through the personal profile was not intended and that it was not clear how it had happened. They replied calmly that it was okay and nothing to worry about. The researcher then worked out the pattern: whenever a reply to a follower included a link (URL), the message went out from the personal account. The issue was reported to Facebook support.

Exploitation

The report does not contain HTTP requests or responses. The reproduction is a sequence of actions in the Page Manager app, and the researcher's own report to Facebook is quoted below.

Step 1: Open the Page inbox

  1. Go to page manager.
  2. Go to inbox.

Step 2: Reply without a link

  1. Reply any message with no links it works fine.

The message is delivered as the Page. This is the expected behaviour and serves as the control case.

Step 3: Reply with a link

  1. But when if you have links, it replies from admins personal profile.

In the researcher's case the link was merojob.com. The message was sent through the personal profile in the same window, and the researcher checked from another phone, where the message did not appear. The researcher also noted never having checked the recipients' profiles, yet the message still went out through the personal ID.

The report sent to Facebook

The description submitted to Facebook support reads:

Text
I am an admin of a page "Students of Nepal" (fb.com/studentofnepal)". We perform occasional interactions with visitors and followers of the page there. Today, I was responding the messages in the page through page manager app. I was replying people with same copied messages as the query was exactly similar. Then strange thing happened suddenly, the messages I was sending through the page manager was sent through my personal profile in the same window which can be seen in screenshot below.

The behaviour summary:

Text
- When I reply with no links, the message is sent through page.
- But when I reply with external website link (in my case: its merojob.com), it is sent through personal profile.

The impact as stated:

Text
This can have serious impact with the life of admin as it is not good to reply people unknowingly which can create thought conflict among followers. This can also cause bad reputation of the page due to the Facebook bug.

The reproduction steps:

Text
1. Go to page manager.
2. Go to inbox.
3. Reply any message with no links it works fine.
4. But when if you have links, it replies from admins personal profile.

The environment:

Text
Apple I-pad Pro 11 inch 2018 version
IOS 12.3.4

A screenshot of the bug was included with the report.

Step 4: Reproduce on request

On 25 June, the security analyst Juana replied that the issue could not be re-created using multiple links, including google and merojob, and asked whether it was a one-time issue or recurring, and for a video if it happened regularly. The same day the researcher sent a video recording of the reproduction with this note:

Text
Sure, here is the video where I can reproduce the issue. When I send normal text like hello, it is replied through page but when I paste the message with link (url), it is replied from my personal profile. This is seriously causing issue replying the followers of the page.

Video link: https://youtu.be/LpCqaHqEdXU

Or watch on YouTube
From the original on medium.com

The next day Facebook replied that the report had been reproduced and would be investigated. On 27 June, Joel from Security wrote that the information was being sent to the appropriate product team. On 28 June, Neal from Security wrote that the vulnerability was believed to be patched and asked to be told if the patch did not resolve it. The researcher confirmed that the issue was fixed.

Step 5: Bounty

On 3 July, a message from Facebook in the support inbox awarded a bounty of $2000, fulfilled through Bugcrowd, with the title "Replying to messages with links lead to page admin disclosure".

Image for post
Message from Facebook with the bounty reward From the original on medium.com

Message from Facebook with the bounty reward

Root cause

The report does not describe the code or the internal design that caused the behaviour. What it establishes is the condition: a reply sent from the Page Manager inbox that contains a URL is attributed to the admin's personal profile, while a reply without a URL is attributed to the Page. The report gives no detail on the mechanism. The report gives no further detail on the mechanism.

Impact

The impact is disclosure of the Page admin's personal identity to followers. A follower who receives a reply containing a link sees the message coming from the admin's personal profile, which links the person to the Page. The researcher notes that this can create conflict among followers and damage the reputation of the Page. The condition is that the admin replies from the Page Manager inbox with a link in the message; replies without links behave correctly. The report does not describe any further access gained, any data exposed beyond the identity, or any other account affected.

Fix

Facebook stated on 28 June that the vulnerability had been patched, and the researcher confirmed the issue was fixed.

Variants to test

  • Reply from the Page inbox with a link in different positions: at the start, in the middle, and at the end of the message. A positive result is the message arriving from the admin's personal profile instead of the Page.
  • Reply with different link forms: bare domain, full URL with scheme, shortened URL, and a link to a different site. A positive result is the same misattribution for any of these forms.
  • Reply with a link plus other content, such as text before and after the URL. A positive result is the whole message being attributed to the personal profile.
  • Repeat the reply on a different device and OS version from the one in the report. A positive result is the behaviour reproducing outside the original environment, which would show it is not device-specific.
  • Test other Page actions that accept links, such as scheduled replies or replies sent from a different Page management surface. A positive result is the same identity disclosure outside the inbox reply flow.
  • Check whether the misattributed message is visible to the recipient as a Page message on one client and as a personal message on another. A positive result is inconsistent attribution between clients.

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. 14 min read.

What happened, in plain words

A Facebook Page is a public profile for a business, school, club or community. A Page is not a person: it has its own name and its own inbox, and the people who run it are called admins. When an admin answers a message from the Page inbox, the follower should see the reply coming from the Page, not from the admin as a private individual.

Saugat Pokharel, from Kathmandu in Nepal, is an admin of the Facebook Page "Students of Nepal" (fb.com/studentofnepal), which publishes educational information and current topics about Nepal. He was answering followers from the official Page Manager app, the Facebook app made for running Pages. He noticed that when his reply contained a link, the message arrived from his personal profile instead of the Page. Facebook later summed the issue up in its bounty message as "Replying to messages with links lead to page admin disclosure".

In security terms this is a logic flaw: the software does not crash and no password is stolen, but a rule about who is speaking is applied wrongly in one specific situation. Think of a receptionist who is supposed to answer on the company's behalf. Normally every letter goes out on company paper. One day, whenever the letter contains a web address, it goes out on the receptionist's own personal notepaper instead, with their name on it. Nothing is broken, yet the wrong identity is revealed.

Saugat Pokharel
Saugat Pokharel From the original on medium.com

Setup

Before the story, here is the situation in which the bug appeared:

  • Role: admin of the Facebook Page "Students of Nepal".
  • Tool: the Page Manager app, described in the report as the official Facebook app for managing Pages.
  • Device: Apple iPad Pro 11 inch, 2018 version.
  • Operating system: iOS 12.3.4.
  • Precondition: the Page receives messages from followers and the admin replies to them from the Page inbox.

No special account, proxy or custom tooling was used. The finding came out of ordinary Page administration. That is worth remembering: you do not need to be a programmer to find this kind of issue. You need to use a feature carefully and notice when it behaves differently from what it promises.

Finding it

On Monday 24 June, news spread on Facebook that a recently banned political party had announced an educational strike for the following day. The Page inbox filled with questions about whether there would be a holiday. The researcher answered each one with the same text, "Please ask your college and get confirmed."

Three girls from St. Xavier's School, Godavari asked, "Is there any possibility of holiday tomorrow?" The researcher replied, "Please kindly contact your college administration." They asked, "Do you think our college will provide us holiday?", and the reply was "Most probably". They answered "Hope so." Every reply and its timing matched across the three conversations, which the researcher found odd and asked about. The answer was "Unemployment", jokingly.

Image for post
Conversation in page goes like this. From the original on medium.com

Conversation in page goes like this.

Image for post
The term ‘Berojgarr’ is a Nepalese word for unemployment which they said jokingly. From the original on medium.com

The term 'Berojgarr' is a Nepalese word for unemployment which they said jokingly.

The researcher then replied, "Please visit merojob.com or other job seeking sites for better job opportunities." This message was written for the first person and copied to the other two.

While waiting for their answers, the researcher saw that the latest message had been sent through the personal profile rather than the Page. That is the anomaly: a reply composed inside the Page Manager inbox appeared to the recipients as a message from the admin as a private person.

Image for post
The message which was sent through my personal ID when replying through page manager app. From the original on medium.com

The message which was sent through my personal ID when replying through page manager.

The researcher sent an apology to all three, explaining that communicating through the personal profile was not intended and that it was not clear how it had happened. They replied calmly that it was okay and nothing to worry about. The researcher then worked out the pattern: whenever a reply to a follower included a link (URL), the message went out from the personal account. The issue was reported to Facebook support.

A URL is simply a web address, the text you type in a browser to reach a page, such as merojob.com. The pattern matters because it is a comparison: the same action with and without a link gave two different results. In testing, that comparison is called a control. The reply without a link is the control: it shows what correct behaviour looks like, so the reply with a link can be judged against it.

Exploitation

The report does not contain HTTP requests or responses. HTTP is the language a browser and a website use to exchange pages and data, and a request is the message your browser sends when you open a page or submit a form. Here there is nothing to copy from a network log, because the reproduction is a sequence of actions in the Page Manager app, and the researcher's own report to Facebook is quoted below.

Step 1: Open the Page inbox

  1. Go to page manager.
  2. Go to inbox.

Why this step: the inbox is where an admin reads and answers messages sent to the Page. Starting here puts you in the exact place where the bug was seen, so any difference in behaviour can be attributed to the reply itself rather than to some other screen.

Step 2: Reply without a link

  1. Reply any message with no links it works fine.

The message is delivered as the Page. This is the expected behaviour and serves as the control case. Why this step: you first confirm that the normal path works, so that later you can say with confidence that the link is what changed the outcome.

Step 3: Reply with a link

  1. But when if you have links, it replies from admins personal profile.

In the researcher's case the link was merojob.com. The message was sent through the personal profile in the same window, and the researcher checked from another phone, where the message did not appear. The researcher also noted never having checked the recipients' profiles, yet the message still went out through the personal ID.

Why the second phone matters: looking at the same conversation from a different device is a way of double-checking what the recipient actually sees. The researcher checked from another phone, where the message did not appear, and confirmed it had been sent through the personal profile.

The report sent to Facebook

The description submitted to Facebook support reads:

Text
I am an admin of a page "Students of Nepal" (fb.com/studentofnepal)". We perform occasional interactions with visitors and followers of the page there. Today, I was responding the messages in the page through page manager app. I was replying people with same copied messages as the query was exactly similar. Then strange thing happened suddenly, the messages I was sending through the page manager was sent through my personal profile in the same window which can be seen in screenshot below.

Line by line: the first sentence states the researcher's role and the Page involved, so the reader knows the context. The second sentence explains what the Page normally does with its inbox. The third sentence says the replies were copied because the questions were identical, which rules out any unusual typing or formatting. The last sentence states the unexpected result: messages composed in the Page Manager were sent through the personal profile, in the same window, and points to a screenshot as evidence.

The behaviour summary:

Text
- When I reply with no links, the message is sent through page.
- But when I reply with external website link (in my case: its merojob.com), it is sent through personal profile.

Line by line: the first line describes the correct case, a reply without links going out as the Page. The second line describes the faulty case, a reply containing an external website link going out as the personal profile, and names the link used. Together they form the comparison that isolates the trigger.

The impact as stated:

Text
This can have serious impact with the life of admin as it is not good to reply people unknowingly which can create thought conflict among followers. This can also cause bad reputation of the page due to the Facebook bug.

Line by line: the first sentence explains the harm to the admin as a person, because messages went out under their name without their knowledge. The second sentence explains the harm to the Page, whose reputation suffers when its replies appear to come from an individual.

The reproduction steps:

Text
1. Go to page manager.
2. Go to inbox.
3. Reply any message with no links it works fine.
4. But when if you have links, it replies from admins personal profile.

Line by line: steps 1 and 2 place you in the Page Manager inbox. Step 3 is the control, a reply without links that behaves correctly. Step 4 is the test, a reply containing links that is attributed to the admin's personal profile. Anyone reading the report can follow these four steps and see the same result.

The environment:

Text
Apple I-pad Pro 11 inch 2018 version
IOS 12.3.4

Line by line: the first line names the device, the second names the operating system version. Recording both lets the vendor try to reproduce on the same setup, and lets later testers check whether the behaviour depends on the device.

A screenshot of the bug was included with the report. A screenshot is useful because it shows the state of the screen at the moment of the problem, without anyone having to trust a description.

Step 4: Reproduce on request

On 25 June, the security analyst Juana replied that the issue could not be re-created using multiple links, including google and merojob, and asked whether it was a one-time issue or recurring, and for a video if it happened regularly. The same day the researcher sent a video recording of the reproduction with this note:

Text
Sure, here is the video where I can reproduce the issue. When I send normal text like hello, it is replied through page but when I paste the message with link (url), it is replied from my personal profile. This is seriously causing issue replying the followers of the page.

Line by line: the first sentence offers the requested video as proof that the issue can be triggered again. The second sentence repeats the comparison in the simplest possible form, plain text such as "hello" against a pasted link, and states which identity each one uses. The third sentence explains why it matters to the Page's daily work.

Video link: https://youtu.be/LpCqaHqEdXU

Or watch on YouTube
From the original on medium.com

A video is stronger evidence than a screenshot for a bug that depends on a sequence of actions, because it shows the whole sequence, including the moment the message is sent and the identity it is sent under.

The next day Facebook replied that the report had been reproduced and would be investigated. On 27 June, Joel from Security wrote that the information was being sent to the appropriate product team. On 28 June, Neal from Security wrote that the vulnerability was believed to be patched and asked to be told if the patch did not resolve it. The researcher confirmed that the issue was fixed.

A patch is a change to the software that removes the faulty behaviour. The vendor asking the reporter to confirm the fix is normal practice: the person who found the bug is often the best placed to check that it is really gone.

Step 5: Bounty

On 3 July, a message from Facebook in the support inbox awarded a bounty of $2000, fulfilled through Bugcrowd, with the title "Replying to messages with links lead to page admin disclosure".

A bounty is a reward a company pays to someone who reports a security problem responsibly, instead of using it or publishing it. Bugcrowd is the platform through which Facebook pays those rewards, as the message itself states.

Image for post
Message from Facebook with the bounty reward From the original on medium.com

Message from Facebook with the bounty reward

Root cause

The report does not describe the code or the internal design that caused the behaviour. What it establishes is the condition: a reply sent from the Page Manager inbox that contains a URL is attributed to the admin's personal profile, while a reply without a URL is attributed to the Page. The report gives no detail on the mechanism. The report gives no further detail on the mechanism.

In plain terms, a root cause is the underlying reason a bug happens, as opposed to the visible symptom. Here the symptom is clear, a message arriving from the wrong identity, but the reason inside Facebook's systems is not something the report can show. Saying so honestly is part of a good report: it separates what was observed from what is guessed.

Impact

The impact is disclosure of the Page admin's personal identity to followers. A follower who receives a reply containing a link sees the message coming from the admin's personal profile, which links the person to the Page. The researcher notes that this can create conflict among followers and damage the reputation of the Page. The condition is that the admin replies from the Page Manager inbox with a link in the message; replies without links behave correctly. The report does not describe any further access gained, any data exposed beyond the identity, or any other account affected.

Disclosure here means that information which should have stayed hidden, the connection between a private person and a Page they run, became visible to other people. Many admins run Pages without wanting their personal profile linked to them, so the leak is about privacy rather than about money or passwords.

Fix

Facebook stated on 28 June that the vulnerability had been patched, and the researcher confirmed the issue was fixed.

Variants to test

Once a bug is found, the next question is how wide it is. These are variations on the same test, each with a clear sign of success:

  • Reply from the Page inbox with a link in different positions: at the start, in the middle, and at the end of the message. A positive result is the message arriving from the admin's personal profile instead of the Page.
  • Reply with different link forms: bare domain, full URL with scheme, shortened URL, and a link to a different site. A positive result is the same misattribution for any of these forms.
  • Reply with a link plus other content, such as text before and after the URL. A positive result is the whole message being attributed to the personal profile.
  • Repeat the reply on a different device and OS version from the one in the report. A positive result is the behaviour reproducing outside the original environment, which would show it is not device-specific.
  • Test other Page actions that accept links, such as scheduled replies or replies sent from a different Page management surface. A positive result is the same identity disclosure outside the inbox reply flow.
  • Check whether the misattributed message is visible to the recipient as a Page message on one client and as a personal message on another. A positive result is inconsistent attribution between clients.

A variant is a deliberate change to one part of the test while keeping the rest the same, so you can learn what the bug depends on. A bare domain is a web address without the http or https part in front, a full URL with scheme includes it, and a shortened URL is a long address replaced by a short one that redirects to it. A client is the program used to view the service, such as the app on a phone or the site in a browser.

Glossary

  • Admin: a person with permission to manage a Page, including reading and answering its messages.
  • Bare domain: a web address written without the http or https part in front.
  • Bounty: a reward a company pays for a responsibly reported security problem.
  • Bugcrowd: the platform through which Facebook pays its bounty awards, as stated in the bounty message.
  • Client: the program used to view a service, such as a phone app or a browser.
  • Control: the case in a test where everything is normal, used as a comparison for the case being tested.
  • Disclosure: making information visible that was meant to stay hidden.
  • Full URL with scheme: a web address that includes the http or https part in front.
  • HTTP: the language a browser and a website use to exchange pages and data.
  • Impact: the harm a bug can cause to people, accounts or a service.
  • Link (URL): a web address that points to a page on the internet.
  • Logic flaw: a bug where the software works as written but a rule is applied wrongly in some situation, rather than crashing or being broken outright.
  • Page: a public Facebook profile for a business, school, club or community, run by admins.
  • Page Manager: the official Facebook app for managing Pages, including their inbox.
  • Patch: a change to software that removes a faulty behaviour.
  • Personal profile: a private individual's own Facebook account, as opposed to a Page.
  • Reproduction: the steps that make a bug happen again, so someone else can confirm it.
  • Request: the message a browser or app sends to a website when you open a page or submit a form.
  • Root cause: the underlying reason a bug happens, as opposed to its visible symptom.
  • Screenshot: a picture of the screen at a particular moment, used as evidence.
  • Shortened URL: a long web address replaced by a short one that redirects to it.
  • Variant: a deliberate change to one part of a test, keeping the rest the same, to learn what the bug depends on.

More by Saugat Pokharel

View all

5 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.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.