Some Guy Figured Out How To Delete Any Video On Facebook

Some Guy Figured Out How To Delete Any Video On Facebook

Security researcher Dan Melamed figured out a clever way to delete any video on Facebook earlier this year, and the social network rewarded him with $US10,000 ($13,231) for responsibly reporting his hack.

Image: Getty

Melamed’s method is shockingly simple and relied on an exposed piece of a URL that he was able to intercept while uploading a video to a Facebook page that he’d created. While uploading a dummy video, Melamed intercepted the request sent to post the video and grabbed this parameter:

composer_unpublished_photo[0]=<Video ID>

The “Video ID” portion refers to the identifying code of the video that Melamed was uploading. When he had intercepted this request, Melamed could change the Video ID portion to be the Video ID of any video that currently existed on Facebook and continue to upload his video. This meant that Melamed could change the parameters halfway through the upload and send a different video up to the Facebook servers during the upload process. Once the ID was modified, Facebook would display an error, but the video was still uploaded successfully.

Now, Melamed gained total control over the video he just uploaded, even though the video wasn’t his. Melamed had the same control over the video that he would have if he had just uploaded it himself, even though he wasn’t the original uploader of the video. That meant that Melamed could modify the video’s setting so that comments were disabled — or even better — he could delete the video entirely.

It’s quite the nifty hack, and if you’re excited to try it out, I’ve got bad news. Facebook has already patched it.

Sometimes the hacks that are simple and easy, like this one, can have massive consequences. Who knows how many black hat hackers figured this out and nuked videos from Facebook servers before Melamed came along. Nevertheless, reporting an exploit like this is still a cool way to pocket $US10,000 ($13,231).

[Dan Melamed]


The Cheapest NBN 50 Plans

It’s the most popular NBN speed in Australia for a reason. Here are the cheapest plans available.

At Gizmodo, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.