Published On: 27 May 2019
Facebook has a system that block any page from posting photos, videos, or shared contents ,when the page violate the law , this type of block allowed the admin to post only a text and prevent him from sharing contents or images videos . An admin can bypass the sharing contents blocking limits by adding the parameter ( composer_unpublished_photo[0] = ) to the request and adding any Image ID that previously shared on the page .
This vulnerability showed a way for a page to circumvent limitations on its ability to post media by attaching an existing media link.
Step
1
Block Information
======
1. This block is for 7 days .
2. Attached is the the message received from Facebook to the admin when they block the page , and also the message occurred on the page .
3. This block limits sharing any image while allowed to post any text without any attachment .
Setup
======
1 . First the page is blocked ( this block is automatically by Facebook when the page violate the law )
2. You are the admin of the page
Step
2
Post anything ( you can only post a text without any attachments , so type "test" and post it for example ) .
Step
3
Step
4
Intercept the request then type on " saving " button .
Step
5
Add the following parameter to the request
composer_unpublished_photo[0] = IMAGE_ID
This parameter is responsible for adding image to the post , so you can bind this parameter
any IMAGE_ID that previously shared on your page ( shared contents ) .
Step
6
Image successfully added to the post , and then we bypassed the limit of shared content and sharing images .
An admin should not use any previously image shared on the page while this block took place 1. I suggest to prevent the attacker from adding the " composer_published_photo[0] " parameter , while the page is blocked . 2. I suggest to prevent to bind the " composer_published_photo[0] " parameter with any image ID that previously used on Facebook , so the server should return an error , ---- > " Image already used " .