Skip to content
Info disclosure Write-up Beginner

I Pasted a Link, Inspected the HTML, and Facebook Gave Me $1000

A private Facebook event's hidden guest list could be inferred by pasting a user's profile link into an event post and inspecting the HTML for a 'weakReference' class, which indicated the user was not a guest. An attacker could determine whether a specific person was attending a private event despite the guest list being hidden.

medium.com

Published on medium.com

Imagine this: You’ve joined a private event on Facebook. The guest list is hidden, so there’s no way to know who else is attending.

Vivek PS, 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.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, the application added a 'weakReference' CSS class to profile links in event posts when the linked user was not a guest, leaking guest-list membership through the page's HTML.

Impact

An attacker could infer whether a specific person was on the guest list of a private event, even though Facebook claimed that information was hidden.

What the attacker needed

Both users invited to the same private event; attacker can post inside the event; victim's profile URL is known

The fix

Facebook acknowledged the issue and patched it quickly.

How it was found

  1. Join a private event where the guest list is hidden.
  2. Copy the profile URL of the person you want to check.
  3. Create a new post inside the private event and paste the profile link.
  4. Inspect the page source and look for the 'weakReference' class next to the person's name.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

Facebook lets you create private events where the guest list is hidden. The researcher found that if you paste someone's profile link into a post inside the event, the page's code marks that link in a special way when the person is not attending. By looking at that mark, you can tell if someone is on the guest list even though Facebook says it's secret.

What is Info disclosure?

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

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.