Skip to content
Business logic Write-up Intermediate

Posting on groups as people whenever their email was known by an attacker

Facebook groups accepted posts by email and only checked that the sender address belonged to a group member, without verifying the sender actually controlled that address. An attacker who knew a member's email address could send a forged email and have arbitrary content posted to the group as that person.

Zahid Ali Follow

Published on medium.com

Bounty$7,500 View original

‘’Facebook groups are one of the most popular features where people discuss anything under the sun. There have been instances where such discussions have landed people in jail.

Zahid Ali, 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

Impact

An attacker could post arbitrary content to a group while impersonating any member whose email address they knew, which could damage that person's reputation or spread misleading messages.

What the attacker needed

Group with email posting enabled; attacker knows a member's email address; ability to send email with a chosen sender

The fix

Facebook fixed the issue the same day, though the text does not describe the change.

How it was found

  1. Set up a group slug so that email posting to the group is enabled
  2. Configure an SMTP server and a script to send email through it
  3. Send an email to the group address with a group member's address as the sender
  4. Refresh the group and see the message posted as that member

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.

Many services let you interact by email, and they trust the 'From' address on the message. That address is easy to fake, so if a site only checks it and nothing else, anyone can pretend to be someone else. Here the attacker could make a post in a Facebook group appear to come from a real member.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by Zahid Ali

View all

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

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.