Facebook Workplace Privilege Escalation Vulnerability To Change The Post Privacy As Public
A privilege escalation flaw in Facebook Workplace allowed a user to change the privacy of a post to public by reusing a Facebook privacy-editing URL with Workplace parameters. An attacker could make a Workplace post public that was intended to be private.
Published on medium.com
{{media:0}}
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 privacy editing endpoint did not properly verify that the request came from the correct platform or that the user had permission to change privacy on Workplace posts.
What the attacker needed
A Facebook Workplace account; ability to create a post
The fix
The issue was fixed by Facebook on August 6, 2019.
How it was found
- Copy the URL for editing privacy of a post from Facebook.
- Replace the domain with workplace.m.facebook.com and replace story id and profile id with Workplace post values.
- Load the modified URL and click Public.
- Check the Workplace post and observe that its privacy changed 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.
This report describes a bug where a user could make a private post on Facebook Workplace become public. The attacker took a link meant for normal Facebook and changed it to point to Workplace, then used it to change the privacy setting. This let anyone see a post that was supposed to be private.
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.