How a simple bug in Facebook Lite let me win my first bug bounty from Facebook
In Facebook Lite, when a page admin opened a photo or video from a page's news feed and commented, the comment was posted from the admin's personal account instead of the page. This could mislead readers into thinking the personal account spoke for the page.
Published on samiparyal.medium.com
There’s a separate Newsfeedavailable for pages to interact with other pages and their posts independently. However, this option might not be available for all the users but it can be accessed anytime through this URL: ‘https://www.facebook.com/pageusername/newsfeed’.
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 Pages have a separate Newsfeed that lets a page interact with other pages and their posts independently of the personal feed. The author notes that this option may not be available to every user, but it can be reached at any time through the URL:
https://www.facebook.com/pageusername/news_feed
The bug, however, was in the mobile version of the same section. On mobile, pages still get a separate Pages Newsfeed section, either in the top bar or from the more option inside the page, in both FB4A (the main Facebook for Android app) and Facebook Lite (FBLite).
The write-up describes an information disclosure: a comment intended to be posted as the page was instead posted from the admin's personal account.
Setup
The report does not describe any special tooling, test accounts or app versions. The researcher also used the main Facebook for Android app for comparison, and a short proof-of-concept video was attached to the report.
Finding it
The researcher started by looking for an admin disclosure vulnerability in the page news_feed on the Facebook app. That attempt found nothing suspicious. The researcher then remembered that Facebook Lite has the same Page News Feed option and began testing there.
The behaviour that looked wrong: when a photo was opened from any one of the posts on the page news_feed and a comment was then made on the post, the comment was published from the admin's personal account instead of from the page. Commenting from the outer interface, without opening the media, correctly posted the comment from the page itself.
The issue was most effective with posts containing multiple media items (photos or videos), where the page can view the photos or videos one by one by clicking on them; commenting back from that view used the admin's account.
Exploitation
Step 1: Open the page's Newsfeed in Facebook Lite
Use the Pages Newsfeed entry in the top bar, or the more option inside the page, in Facebook Lite. The desktop equivalent is the URL shown above.
Step 2: Open a post that contains media
Pick a post on the page news_feed that contains one or more photos or videos. Posts with multiple media items are where the behaviour was most effective, because the media can be viewed one by one by clicking on it.
Step 3: Comment from inside the opened media
With the photo or video open, submit a comment on the post. The comment is published as the admin's personal account rather than as the page.
Step 4: Compare with the outer interface
Comment on the same post from the outer interface, without opening the media. That comment is published from the page itself, which isolates the opened-media view as the trigger.
The report contains no HTTP requests, parameters or responses; the proof of concept is the short video linked in the write-up.
Root cause
The report does not analyse the code. What it establishes is a mismatch between two commenting paths in Facebook Lite: the outer interface attributes the comment to the page, while the media viewer opened from the page news_feed attributes it to the admin's personal account. The report does not say why the existing checks did not catch this.
Impact
A page admin commenting from the media viewer on the page news_feed publishes the comment from their personal account. The comment is published from the admin's personal account instead of the page. The report frames this as an information disclosure and does not describe any further capability, such as access to other users' data or account takeover.
Fix
Facebook claimed a fix, but the first fix was incomplete; the researcher informed them of the remains. The bounty was paid before a complete fix, and the researcher was asked not to disclose details until the issue was fully resolved. Permission to disclose was granted with a final patch message on Wednesday, 7 October 2020.
Timeline
| Event | Date |
|---|---|
| Reported | Sunday, 12 July 2020 |
| Pre-triaged | Thursday, 16 July 2020 |
| Triaged | Friday, 17 July 2020 |
| Fix claim from their side | Saturday, 25 July 2020 |
| Informed about incomplete fix | Saturday, 25 July 2020 |
| Reply of acknowledgement | Wednesday, 5 August 2020 |
| Asked for an update | Sunday, 16 August 2020 |
| Informed about the ongoing process | Wednesday, 19 August 2020 |
| Bounty rewarded without the fix | Friday, 28 August 2020 |
| Refrained additionally for non-disclosure | Friday, 28 August 2020 |
| Agreed, thanked and requested a hall-of-fame update | Friday, 28 August 2020 |
| Listed in the Facebook hall of fame | Wednesday, 2 September 2020 |
| Asked permission to disclose as it was completely fixed | Monday, 28 September 2020 |
| Permission granted with a final patch message | Wednesday, 7 October 2020 |
The report was submitted with the title Commenting on a post by opening it via page's news-feed goes from a wrong actor (i.e. admin's personal account). The author later added a note that this became their third valid bug report at the time of writing, because two earlier reports were recognised as valid later in the year.
Variants to test
- Other media viewers on the page surface. Open single-photo, single-video and multi-media posts from the page news_feed and comment from each view. A positive result is a comment published from the personal account where the outer interface publishes from the page.
- Other page actions from the media viewer. Try reactions, shares and replies from the opened-media view. A positive result is any action attributed to the personal account instead of the page.
- The same flow in the main app. Repeat the steps in FB4A. The researcher found nothing suspicious in the main app, so a positive result here would show the issue is not Lite-specific.
- Other page sections with their own composer. Test commenting from views reached through the page's more menu. A positive result is the same identity mismatch between the section view and the outer interface.
- Desktop news_feed. Repeat on
https://www.facebook.com/pageusername/news_feedwith media opened. A positive result is a comment attributed to the personal account rather than the page.
What happened, in plain words
A security researcher found a small mistake in the Facebook Lite mobile app. Facebook Pages (the profiles that businesses, public figures and organisations use) have their own separate news feed, called the Pages Newsfeed, where a page can read and reply to other pages' posts. When the researcher opened a photo or video from a post in that feed and wrote a comment from inside the photo viewer, the comment was published from the admin's personal account instead of from the page. The page admin thought they were speaking as the page, but the comment was published from their personal account.
The researcher reported it to Facebook, Facebook fixed it (not perfectly the first time), paid a bounty, and later gave permission to write about it publicly. This article walks through the same story for someone who has never done security testing before: what each piece of Facebook's product does, why the researcher looked where they looked, and what the mistake actually was.
The pieces you need to know first
Before the steps make sense, here are the basic ideas, explained from zero.
A Facebook Page is a public profile for a business, band, charity or public figure. It is not the same as a personal profile. A personal profile belongs to one human being and carries their real name. A page belongs to an organisation and can have several people, called admins, who manage it.
An admin is a person who has been given permission to post and comment on behalf of a page. When an admin acts "as the page", the audience sees the page's name and logo, not the admin's personal name. When an admin acts "as themselves", the audience sees their personal profile. Keeping those two identities separate is the whole point of having a page.
A news feed is the scrolling list of posts you see when you open Facebook. Pages have their own separate feed, the Pages Newsfeed, where the page can follow other pages and interact with their posts without mixing that activity into the admin's personal feed.
FB4A is shorthand for "Facebook for Android", the main Facebook app on Android phones. FBLite (or Facebook Lite) is a lighter, smaller version of the same app, designed for slow networks and low-end phones. It has fewer features and a simpler interface, but it still offers the Pages Newsfeed.
Information disclosure is the name for a class of security bug where something that should stay private becomes visible to people who should not see it. Here, the private thing is the link between a page and the human being who runs it: the admin's personal identity was revealed on a comment that was meant to come from the page.
A bug bounty is a programme run by a company that pays independent researchers for reporting security problems responsibly, instead of exploiting them or publishing them straight away. The company sets rules, the researcher follows them, and the company pays a reward, called a bounty, for valid reports.
Responsible disclosure is the practice of telling the company first, giving it time to fix the problem, and only publishing details afterwards, usually with the company's permission. The researcher in this story followed that practice.
A proof of concept (PoC) is a small demonstration that a bug is real: a video, a screenshot or a short set of steps that shows the problem happening. It is not an attack tool; it is evidence for the company's security team.
The feature that was being tested
Facebook Pages have a separate news feed that lets a page interact with other pages and their posts independently of the personal feed. The researcher notes that this option may not be available to every user, but it can be reached at any time through this URL:
https://www.facebook.com/pageusername/news_feed
Line by line, this is just a web address:
https://means the page is loaded over an encrypted connection, so the traffic between your browser and Facebook cannot be read by someone in the middle.www.facebook.comis Facebook's main website.pageusernameis a placeholder for the short name of a particular page. If a page's address isfacebook.com/examplebakery, thenexamplebakeryis the page username./news_feedis the part of the site that shows the page's own feed.
So the URL is simply "the news feed of this particular page, on the desktop website". The researcher mentions it because it is the desktop equivalent of the mobile feature being tested. The actual bug, however, was in the mobile version of the same section.
On mobile, pages still get a separate Pages Newsfeed section, either in the top bar or from the more option inside the page, in both FB4A and Facebook Lite. In other words, the feature exists in three places: the desktop website, the main Android app, and the Lite app. The researcher tested the apps.
Why the researcher started where they did
The researcher began by looking for an admin disclosure vulnerability in the page news_feed on the main Facebook app. Admin disclosure means a bug where the personal account behind a page becomes visible when it should not be. That is a natural thing to hunt for on a page feature, because a page feature is exactly where the boundary between "acting as the page" and "acting as yourself" lives.
Everything went smoothly on the main app: nothing suspicious turned up. Then the researcher remembered that Facebook Lite has the same Page News Feed option, and started testing there instead. This is a common and sensible habit in security testing: if one version of a product looks clean, try the other versions. Lite is a separate app with a simpler interface, so it is worth testing separately.
What went wrong
When the researcher opened a photo from any one of the posts on the page news_feed and then commented on the post, the comment was published from the admin's personal account instead of from the page. When commenting from the outer interface, without opening the media first, the comment correctly went from the page itself.
The problem was most reliable with posts containing multiple media items, photos or videos, where the page can view the photos or videos one by one by clicking on them. Commenting back from that view used the admin's account.
So there are two paths to the same action, writing a comment on a post, and they disagree about who is speaking. The outer path knows the page is the actor. The media viewer path forgets it and falls back to the logged-in human being.
Reproducing it, step by step
Step 1: Open the page's Newsfeed in Facebook Lite
Use the Pages Newsfeed entry in the top bar, or the more option inside the page, in Facebook Lite. The desktop equivalent is the URL shown above. The reason to start here is that this is the surface where the page acts as itself; any comment made from here is supposed to carry the page's identity.
Step 2: Open a post that contains media
Pick a post on the page news_feed that contains one or more photos or videos. Posts with multiple media items are where the behaviour is most reliably triggered, because the media can be viewed one by one by clicking on it.
Step 3: Comment from inside the opened media
With the photo or video open, submit a comment on the post. The comment is published as the admin's personal account rather than as the page. This is the bug: the screen you are on changes who the app thinks you are.
Step 4: Compare with the outer interface
Comment on the same post from the outer interface, without opening the media. That comment is published from the page itself. This comparison is what isolates the opened-media view as the trigger. Without it, you could not tell whether the problem was the post, the page, the account or the viewer; with it, you can see that the only difference is which screen the comment was written from.
The report contains no HTTP requests, parameters or responses; the proof of concept is the short video linked in the write-up. That is worth saying plainly, because a reader coming from other write-ups may expect to see raw network traffic. Here the evidence is a recording of the app's behaviour.
Why it happens
The report does not analyse the code. What it establishes is a mismatch between two commenting paths in Facebook Lite: the outer interface attributes the comment to the page, while the media viewer opened from the page news_feed attributes it to the admin's personal account. The report does not say why the existing checks did not catch this.
A useful everyday comparison: imagine a company's shared email inbox where every message is supposed to be signed "the company". Most of the time the signature is added automatically. But if you open an attachment in a separate window and reply from there, the signature is missing and your own name goes out instead. Nothing is broken in the inbox itself; the second window simply does not know about the rule.
What the impact really is
A page admin commenting from the media viewer on the page news_feed publishes the comment from their personal account. The practical consequence is that the admin's personal identity is disclosed alongside content the admin believed was posted as the page, and the comment appears under the wrong actor.
The report frames this as an information disclosure and does not describe any further capability, such as access to other users' data or account takeover. In plain terms: nobody gained control of anyone's account, and no private messages or passwords were exposed.
The fix and the disclosure
Facebook claimed a fix, but the first fix was incomplete; the researcher informed them of the remains. The bounty was paid before a complete fix, and the researcher was asked not to disclose details until the issue was fully resolved. Permission to disclose was granted with a final patch message on Wednesday, 7 October 2020. The report does not describe what was changed.
This sequence is normal in bug bounty work.
Timeline
| Event | Date |
|---|---|
| Reported | Sunday, 12 July 2020 |
| Pre-triaged | Thursday, 16 July 2020 |
| Triaged | Friday, 17 July 2020 |
| Fix claim from their side | Saturday, 25 July 2020 |
| Informed about incomplete fix | Saturday, 25 July 2020 |
| Reply of acknowledgement | Wednesday, 5 August 2020 |
| Asked for an update | Sunday, 16 August 2020 |
| Informed about the ongoing process | Wednesday, 19 August 2020 |
| Bounty rewarded without the fix | Friday, 28 August 2020 |
| Refrained additionally for non-disclosure | Friday, 28 August 2020 |
| Agreed, thanked and requested a hall-of-fame update | Friday, 28 August 2020 |
| Listed in the Facebook hall of fame | Wednesday, 2 September 2020 |
| Asked permission to disclose as it was completely fixed | Monday, 28 September 2020 |
| Permission granted with a final patch message | Wednesday, 7 October 2020 |
Two of those terms deserve a word. Triaged means the company's security team has looked at the report and accepted that it describes a real problem worth working on; pre-triaged means an earlier, lighter check has happened. A hall of fame is a public page where a company lists researchers who have reported valid issues, as a thank-you.
The report was submitted with the title Commenting on a post by opening it via page's news-feed goes from a wrong actor (i.e. admin's personal account). The author later added a note that this became their third valid bug report at the time of writing, because two earlier reports were recognised as valid later in the year.
Variants to test
If you want to practise the same kind of thinking on your own account, these are follow-up checks in the same spirit. Each one changes a single thing and asks whether the identity mismatch appears again.
- Other media viewers on the page surface. Open single-photo, single-video and multi-media posts from the page news_feed and comment from each view. A positive result is a comment published from the personal account where the outer interface publishes from the page.
- Other page actions from the media viewer. Try reactions, shares and replies from the opened-media view. A positive result is any action attributed to the personal account instead of the page.
- The same flow in the main app. Repeat the steps in FB4A. The researcher found nothing in the main app, so a positive result here would show the issue is not Lite-specific.
- Other page sections with their own composer. Test commenting from views reached through the page's more menu. A positive result is the same identity mismatch between the section view and the outer interface.
- Desktop news_feed. Repeat on
https://www.facebook.com/pageusername/news_feedwith media opened. A positive result is a comment attributed to the personal account rather than the page.
What a beginner should take from this
The bug is not exotic. It is a case of one screen in an app forgetting a rule that another screen follows. Finding it took no special tools: an account that administers a page, the Lite app, and the patience to compare two ways of doing the same thing. The valuable habit is the comparison in step 4. Whenever a product lets you act as one identity in one place and another identity in another place, try the same action from every route you can reach and watch which name appears.
Glossary
- Admin: a person with permission to manage a Facebook Page and act on its behalf.
- Admin disclosure: a bug where the personal account behind a page becomes visible when it should not.
- Bug bounty: a programme that pays researchers for reporting security problems responsibly.
- Bounty: the reward paid for a valid report.
- FB4A: Facebook for Android, the main Facebook app on Android.
- FBLite: Facebook Lite, the smaller, lighter version of the Facebook app.
- Hall of fame: a public page where a company lists researchers who reported valid issues.
- Information disclosure: a class of bug where information that should stay private becomes visible to the wrong people.
- Media viewer: the screen in a mobile app that opens when you tap a photo or video, showing it full screen.
- News feed: the scrolling list of posts shown when you open Facebook.
- Page: a public profile for a business, organisation or public figure, separate from a personal profile.
- Pages Newsfeed: the separate feed where a page follows and interacts with other pages' posts.
- Personal account: the profile belonging to one human being, carrying their real name.
- Pre-triaged: an early, lighter check by the company's security team before full triage.
- Proof of concept (PoC): a small demonstration, such as a video, showing that a bug is real.
- Responsible disclosure: telling the company first, allowing time to fix, and publishing only afterwards with permission.
- Triaged: the company's security team has accepted the report as a real problem worth fixing.
- URL: a web address, such as
https://www.facebook.com/pageusername/news_feed.