Bulletin.com email address leak
The GraphQL endpoint for Facebook's Bulletin service allowed listing podcast subscribers' email addresses without proper authorisation. An attacker could query the endpoint to obtain email addresses of subscribers to any publication.
Published on philippeharewood.com
The VoiceCreator object in GraphQL has no apparent permissions, this means I can list the subscribers of a podcast/publication by email address. query a {bulletinbrowsepublications(){typename,publications{creator{id,name,emailsettings{nodes{typename,...on VoicesEmailSettings{confirmedemail{emailaddress}}}}}}}}
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
Bulletin.com is Facebook's publication service, aimed at newsletters and podcasts. Each publication has a creator, and the creator's account carries email settings, including a confirmed email address. The researcher, Philippe Harewood, was looking at how the GraphQL API behind Bulletin exposes those creator objects.
The relevant object is VoiceCreator. In the GraphQL schema it has no apparent permissions attached, which means the API will return it, and the email settings nested inside it, to a caller who should not be able to see them.
Setup
The report does not describe any special accounts, roles, tools or versions. The only precondition shown is the ability to send a GraphQL query to the Bulletin API as an ordinary caller. No authentication detail, endpoint URL or header is given in the report.
Finding it
The researcher noticed that the VoiceCreator object in GraphQL had no apparent permissions. Because of that, the creator email settings behind a podcast or publication could be read by email address. The data sits under email_settings, in the confirmed_email.email_address field of each VoicesEmailSettings node.
Exploitation
Step 1: Query the public publications and pull creator email settings
The researcher sent a single GraphQL query that browses public publications and, for each publication's creator, requests the email settings and the confirmed email address:
query a {bulletin_browse_publications(){__typename,publications{creator{id,name,email_settings{nodes{__typename,...on VoicesEmailSettings{confirmed_email{email_address}}}}}}}}
The query starts at bulletin_browse_publications, which returns the list of publications. For each publication it walks into creator and asks for id, name and email_settings. Inside email_settings it requests the nodes list, and on each node that is a VoicesEmailSettings it asks for confirmed_email.email_address.
Because the VoiceCreator object has no apparent permissions, the query was expected to return the confirmed email addresses of the creators behind the publications. The report does not reproduce the response body.
Root cause
The mistake is in the authorisation model of the GraphQL schema: the VoiceCreator object, and the email_settings field hanging off it, are reachable from a public browse query without a permission check. The query is built to browse public publications, so the entry point is intentionally public, but the nested creator object exposes data that should not be part of a public browse result. Existing defences did not stop it because the field-level permission that should guard email_settings was apparently missing.
Impact
An attacker could read the confirmed email addresses of creators behind public publications. The report frames the exposed data as the email addresses of bulletin blog subscribers, and Facebook's reply describes the issue as "the ability to disclose email addresses of bulletin blog subscribers". The report does not state how many addresses were exposed or which publications were affected.
Fix
Facebook fixed the issue on 7 July 2021, five days after the report was sent on 2 July 2021. A fix that follows from the root cause would be to add a permission check on the VoiceCreator object and on email_settings, so that a public browse query cannot reach the confirmed email address of a creator.
Timeline and bounty
- 2 July 2021: report sent.
- 7 July 2021: fixed by Facebook.
Facebook's reply states that it would normally issue a $7,500 bounty for a report describing the ability to disclose email addresses of bulletin blog subscribers. Because the researcher sent two additional correspondences, 12 hours and 10 hours after Facebook started investigating, in which he further tested the reported issue against additional assets without consent, Facebook halved the bounty and awarded $3,750. Facebook also asked him to delete all data owned by other users gathered during the research, including data saved in GitHub.
The researcher disputes the penalty. He says the testing Facebook penalised was retesting the endpoint to see when it was fixed and checking for paid and hidden publications, and that retesting bugs is something he has done for all his reports. He says the warning Facebook referred to was given in another report weeks after the testing, and that a security manager at Facebook agreed the warning date was wrong. He also notes that he had been the keynote speaker at Facebook's bounty conference a year earlier and had not reported any bugs to Facebook since the incident.
Variants to test
- Browse queries that return creator or owner objects: send a public listing query and ask for nested account fields such as email settings, contact details or profile data. A positive result is a response that includes another user's private fields without an error.
- Field-level permission gaps on nested objects: take any object reachable from a public entry point and request fields that should require ownership or an admin role. A positive result is data returned for an object the caller does not own.
- Fragment type confusion: use inline fragments (
...on SomeType) on interface or union fields to reach concrete types that carry sensitive fields. A positive result is a concrete type's private field appearing in the response. - Retesting after a fix: repeat the original query after the vendor reports a fix, and check whether the field is now rejected or returns empty. A positive result is the same data still coming back, which shows the fix is incomplete.
What happened, in plain words
Facebook runs a service called Bulletin.com, a place where people publish newsletters and podcasts. Every publication on it belongs to a creator, and that creator's account holds email settings, including a confirmed email address. The researcher, Philippe Harewood, found that a single request to the programming interface behind Bulletin could reach those confirmed email addresses without any permission check. He reported it, Facebook fixed it within days, and then Facebook halved the reward it would normally pay, saying he had kept testing the issue after the report was accepted. He disagreed with that penalty. This article walks through the finding, the request, the cause, the impact, the fix and the dispute, explaining each technical idea from scratch.
Background: what Bulletin and GraphQL are
Bulletin.com is Facebook's publication service, aimed at newsletters and podcasts. Think of it as a hosted newsletter and podcast platform: a person signs up, creates a publication, and readers subscribe. Each publication has a creator, and the creator's account carries email settings, including a confirmed email address. That address is the kind of detail a platform normally keeps private, because it identifies the person behind the publication and can be used for spam or harassment.
To make a website like this work, the page you see in your browser has to fetch data from Facebook's servers. Modern sites do this through an API, short for Application Programming Interface. An everyday comparison: a restaurant menu. You, the browser, do not walk into the kitchen; you pick items from a menu, the kitchen prepares them, and a waiter brings them back. An API is that menu plus the waiter: a defined list of things you can ask for, and a defined format for the answer.
Bulletin's API is a GraphQL API. GraphQL is a way of designing that menu. Instead of many fixed addresses, each returning a fixed shape of data, GraphQL exposes one endpoint and a description of all the data and how it connects, called a schema. The client sends a query describing exactly which fields it wants, and the server returns exactly those fields. A useful comparison is ordering a custom sandwich: you write down bread, filling and toppings, and you get precisely that, nothing more and nothing less.
GraphQL data is made of objects. An object is a bundle of fields, like a row in a spreadsheet with named columns. Objects can contain other objects. In this schema, a publication has a creator, and the creator object is called VoiceCreator. The creator object has email settings, and those settings contain a confirmed email address. The researcher was looking at how the GraphQL API behind Bulletin exposes those creator objects.
The relevant object is VoiceCreator. In the GraphQL schema it has no apparent permissions attached. Permissions are the rules that decide who may see or change what: a permission check is the bouncer at the door of a field, asking whether this caller is allowed in. If a field has no permission check, the API will return it to any caller who knows how to ask, even a caller who should not be able to see it. That is the whole problem here: the API will return VoiceCreator, and the email settings nested inside it, to someone who should not be able to see them.
Setup
The report does not describe any special accounts, roles, tools or versions. The only precondition shown is the ability to send a GraphQL query to the Bulletin API as an ordinary caller. No authentication detail, endpoint URL or header is given in the report. In plain terms: no insider access, no special software, no trick with cookies or login tokens was needed for what is described. The researcher simply sent a query the way any client of the service could.
Finding it
The researcher noticed that the VoiceCreator object in GraphQL had no apparent permissions. Because of that, the creator email settings behind a podcast or publication could be read by email address. The data sits under email_settings, in the confirmed_email.email_address field of each VoicesEmailSettings node.
Two words in that sentence need unpacking. A node is simply one item in a list: when the API returns a list of email settings, each entry in the list is a node. A field path like confirmed_email.email_address means: inside the email settings, find the confirmed email entry, and inside that, the address itself. It is like a postal address: country, then city, then street, then house number, each step narrowing down to the one value.
Exploitation
Step 1: Query the public publications and pull creator email settings
The researcher sent a single GraphQL query that browses public publications and, for each publication's creator, requests the email settings and the confirmed email address:
query a {bulletin_browse_publications(){__typename,publications{creator{id,name,email_settings{nodes{__typename,...on VoicesEmailSettings{confirmed_email{email_address}}}}}}}}
Line by line, in plain words:
query astarts a query and gives it the namea. The name is just a label; it does not change what the query does.bulletin_browse_publications()is the entry point. It is the part of the API that lists publications, the same kind of listing a visitor browsing the site would trigger. This entry point is intentionally public: browsing public publications is a normal thing to do.__typenameasks the server to say what type of object it is returning at that point. It is a built-in GraphQL field, useful for checking what you actually got back.publications{...}asks for the list of publications, and the braces open the set of fields wanted for each one.creator{...}walks from each publication into the person or account that created it, and opens the fields wanted for that creator.id,nameasks for the creator's identifier and display name. These are the ordinary, public-facing details.email_settings{...}is the sensitive part: it asks for the creator's email settings, which should not be part of a public browse result.nodes{...}asks for the list of individual settings entries inside those email settings....on VoicesEmailSettings{...}is an inline fragment. A fragment is a way of saying "if the object here is of this particular type, then also ask for these fields". It is like a form that says "if you are a business customer, fill in the company section". Here it targets the typeVoicesEmailSettings.confirmed_email{email_address}drills into the confirmed email entry and asks for the address itself. This is the value that should have been protected.
Because the VoiceCreator object has no apparent permissions, the query was expected to return the confirmed email addresses of the creators behind the publications. The report does not reproduce the response body.
Why take this step at all? The goal was to check whether a public listing, something any visitor can trigger, could be walked into private account data. The query deliberately starts from the public door and then reaches for a field that should need permission. If the server answers with addresses instead of an error, the permission check is missing.
Root cause
The mistake is in the authorisation model of the GraphQL schema. Authorisation means deciding, for each request, whether this caller is allowed to do this thing. In GraphQL, that decision can be made per object or per field: the server can check permission when someone asks for a creator object, and again when someone asks for the email settings field inside it.
Here, the VoiceCreator object, and the email_settings field hanging off it, are reachable from a public browse query without a permission check. The query is built to browse public publications, so the entry point is intentionally public, but the nested creator object exposes data that should not be part of a public browse result. Existing defences did not stop it because the field-level permission that should guard email_settings was apparently missing.
An everyday comparison: a hotel lobby is public, and anyone may walk in. The reception desk is public too. But the guest register behind the desk should not be readable just because you are standing in the lobby. Here the lobby (the browse query) was open as intended, and the register (the email settings) was sitting on the counter with nobody watching it.
Impact
An attacker could read the confirmed email addresses of creators behind public publications. The report frames the exposed data as the email addresses of bulletin blog subscribers, and Facebook's reply describes the issue as "the ability to disclose email addresses of bulletin blog subscribers". The report does not state how many addresses were exposed or which publications were affected.
Why does that matter? Email addresses are personal data. They let someone contact people directly, and they are a common ingredient in phishing, where a message pretends to come from a trusted source to extract passwords or money. They also reveal who subscribes to what, which can be sensitive in itself. The severity here comes from the combination: no special access needed, a single request, and real people's addresses in the answer.
Fix
Facebook fixed the issue on 7 July 2021, five days after the report was sent on 2 July 2021. A fix that follows from the root cause would be to add a permission check on the VoiceCreator object and on email_settings, so that a public browse query cannot reach the confirmed email address of a creator.
In the hotel comparison, the fix is to put the guest register behind the desk and require staff to check who is asking before handing anything over. In GraphQL terms, the server should reject the request for email_settings when it comes from a caller who is not the owner or an administrator, even though the surrounding browse query is allowed.
Timeline and bounty
- 2 July 2021: report sent.
- 7 July 2021: fixed by Facebook.
Facebook's reply states that it would normally issue a $7,500 bounty for a report describing the ability to disclose email addresses of bulletin blog subscribers. A bounty is a reward a company pays a researcher for reporting a security problem responsibly, instead of using it or selling it. Because the researcher sent two additional correspondences, 12 hours and 10 hours after Facebook started investigating, in which he further tested the reported issue against additional assets without consent, Facebook halved the bounty and awarded $3,750. Facebook also asked him to delete all data owned by other users gathered during the research, including data saved in GitHub.
The researcher disputes the penalty. He says the testing Facebook penalised was retesting the endpoint to see when it was fixed and checking for paid and hidden publications, and that retesting bugs is something he has done for all his reports. He says the warning Facebook referred to was given in another report weeks after the testing, and that a security manager at Facebook agreed the warning date was wrong. He also notes that he had been the keynote speaker at Facebook's bounty conference a year earlier and had not reported any bugs to Facebook since the incident.
This dispute is worth understanding even for a beginner, because it shows that bug bounty work is governed by rules as well as by technical skill. The rules usually say: once you have shown a problem, stop poking at it, and do not go further into other people's data without written permission. The researcher's position is that checking whether a fix actually works is normal practice and that he was penalised for it. Facebook's position, as stated in its reply, is that further testing after the report was accepted went against its terms.
Variants to test
The technical write-up lists four directions a beginner can explore, once they understand the basics. Each one is a way of asking the same question: can a public door lead to private data?
- Browse queries that return creator or owner objects: send a public listing query and ask for nested account fields such as email settings, contact details or profile data. A positive result is a response that includes another user's private fields without an error. In plain words: start at the shop window and see whether the stockroom is visible through it.
- Field-level permission gaps on nested objects: take any object reachable from a public entry point and request fields that should require ownership or an admin role. A positive result is data returned for an object the caller does not own. In plain words: try asking for the manager's paperwork using the customer form.
- Fragment type confusion: use inline fragments (
...on SomeType) on interface or union fields to reach concrete types that carry sensitive fields. A positive result is a concrete type's private field appearing in the response. In plain words: the form has a section for a special kind of customer; try filling it in and see whether the system hands back that customer's private details. - Retesting after a fix: repeat the original query after the vendor reports a fix, and check whether the field is now rejected or returns empty. A positive result is the same data still coming back, which shows the fix is incomplete. In plain words: after the shop says the stockroom door is locked, try the handle once to confirm. Note that the dispute above shows why the timing and permission for this step matter.
Glossary
- API: the defined set of requests a program can make to a service, and the format of the answers; the menu and waiter between your browser and the server.
- GraphQL: a way of building an API where the client writes a query naming exactly the fields it wants, and the server returns exactly those fields.
- Schema: the description of all the data types, fields and connections an API offers.
- Object: a bundle of named fields, like a row in a spreadsheet.
- Field: one named piece of data inside an object, such as
nameoremail_address. - Node: one item in a list returned by the API.
- Query: the request text a client sends to a GraphQL API describing the data it wants.
- Entry point: the top-level field where a query starts, such as the publication listing.
- Inline fragment: a piece of a query that applies extra fields only when the object is of a particular type, written
...on SomeType. __typename: a built-in GraphQL field that tells you the type of the object being returned.- Permission: a rule deciding whether a given caller may see or change a given piece of data.
- Permission check: the code that enforces a permission at request time; the bouncer at the door.
- Authorisation: the overall process of deciding what an authenticated caller is allowed to do.
- Authentication: proving who you are, for example by logging in; distinct from authorisation, which decides what you may do once known.
- Field-level permission: a permission attached to one specific field rather than to a whole object or endpoint.
- Information disclosure: a vulnerability class where data that should be private is exposed to someone who should not see it.
- Vulnerability: a weakness in software that can be used to break its intended security.
- Exploit: using a vulnerability to actually obtain or change something you should not be able to.
- Proof of concept (PoC): a minimal demonstration that a vulnerability is real, usually a single request and its result.
- Endpoint: the address a request is sent to.
- Header: extra information sent alongside a request, such as the format of the data or a login token.
- Cookie: a small piece of data a website stores in your browser, often used to remember that you are logged in.
- Token: a value that proves identity or grants access, like a temporary key; it must be kept secret.
- Bounty: a reward a company pays for a responsibly reported security problem.
- Bug bounty terms of service: the rules a researcher agrees to in order to take part in a bounty programme.
- Retesting: repeating a request after a fix to check whether the problem is actually gone.
- Phishing: a message that pretends to come from someone trusted in order to steal information or money.
- Personal data: information that identifies a real person, such as an email address.
- Severity: a rating of how serious a vulnerability is, based on factors such as ease of use and impact.
- CVSS: a standard scoring system for severity; the report gives no score.
- GitHub: a website for storing and sharing code and files.