Skip to content
Access control Write-up Beginner

Privacy Disclosure on m.facebook.com after add photo to the post

When a user on m.facebook.com set a post's privacy to 'Only Me' and then added a photo, the privacy setting was not applied and the audience reverted to 'Public'. This could expose the user's photo and post content to the public, compromising their privacy.

medium.com

Published on medium.com

Privacy Disclosure on m.facebook.com after add photo to the post

Mohamed Laajimi, 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

The user's post and photo could be disclosed to the public instead of remaining private, compromising their privacy.

What the attacker needed

Use m.facebook.com; set post privacy to 'Only Me'; add a photo to the post

The fix

The issue was fixed according to the timeline.

How it was found

  1. On m.facebook.com, create a post and set its privacy audience to 'Only Me'.
  2. Add a photo to that post.
  3. Observe that the privacy setting is no longer 'Only Me' but has changed back to 'Public'.

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.

On Facebook, you can choose who sees a post, for example 'Only Me' or 'Public'. The report says that if you picked 'Only Me' and then added a photo, the setting changed back to 'Public' without warning. That means people you did not intend to see the post could see it.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.