Live data from Hacker News

Delete any Photo from Facebook by Exploiting Support Dashboard

arulxtronix.blogspot.in

11–20 of 32 posts

Re: Delete any Photo from Facebook by Exploiting Support Dashboard

#11
post #9

As I understand it, the exploit involves crafting a URL to send in a removal request to the Facebook support. Wouldn't this count as social engineering or were the removal requests automated? Regardless, well done!

it looks like the request goes to the person who posted the photo first. presumably so that person can delete the photo without getting support involved. it looks like the problem was you could control the profile_id so it was different from the profile that owned the photo.

Re: Delete any Photo from Facebook by Exploiting Support Dashboard

#14
post #7

wow that's a nice bounty for changing two parameters on the end of a URL.

The exploit is easy, but the implications are very dangerous. Such an exploit could have been automated to take down hundreds of photos before it was even detected.

Re: Delete any Photo from Facebook by Exploiting Support Dashboard

#15
post #9

As I understand it, the exploit involves crafting a URL to send in a removal request to the Facebook support. Wouldn't this count as social engineering or were the removal requests automated? Regardless, well done!

It seems you can send a crafted URL to request the deletion of images owned by Person A, to Person B. Cutting out any interaction from the original owner.

Re: Delete any Photo from Facebook by Exploiting Support Dashboard

#17

Facebook should make a "Hack Me" profile for people to mess with, so they don't have to use Zuckerberg's instead.

https://www.facebook.com/whitehat/accounts/

That just gives out the same info as https://www.facebook.com/whitehat/, unless (I speculate) you already have a Facebook account and are logged in.

Re: Delete any Photo from Facebook by Exploiting Support Dashboard

#18
post #17

Earlier quoted context omitted.

https://www.facebook.com/whitehat/accounts/

That just gives out the same info as https://www.facebook.com/whitehat/ , unless (I speculate) you already have a Facebook account and are logged in.

When logged in, it shows the test account dashboard: http://i.imgur.com/Wh72kJF.png

Re: Delete any Photo from Facebook by Exploiting Support Dashboard

#19

This guy was lucky to be proficient enough in English to recieve the bounty, unlike this guy: http://www.theverge.com/2013/8/18/4633046/facebook-security-...

Sounds to me like the big difference here is that this guy made a video when he couldn't communicate verbally (honestly seems like a smart way to do it even if American English is your first language; describing UI interactions verbally is generally pretty non-trivial). And critically, he did not actually use the exploit against another user. He just showed that he could have.

Re: Delete any Photo from Facebook by Exploiting Support Dashboard

#20
post #6

Earlier quoted context omitted.

They most likely do test for security vulnerabilities. However, the attack surface and overall complexity is so large that things will slip by even with the most rigorous testing. For now, the best you can hope for is a layered defense and rigorous dev and ops practices to help minimize the attack surface and reduce the overall damage a single successful attack can achieve.

Putting the user id in the request is obviously wrong, since the owner can looked up from the photo id. Automated testing/fuzzing could find this, but probably better training/practices would be easier to get right and save time/money in the long run.

I think this is one of the things that Microsoft did a pretty good job with. There is a security process in place that every product goes through for every release. While it still can't catch everything, even the simplest of threat models would have caught a bug like this.

While Facebook most likely does do some form of threat modeling for their main site, without a rigid process for all code that goes public you'll run into issues like this that are just as severe. Just because it's a mobile support site for requesting photo removals doesn't mean it is less important surface area in terms of security.

Post reply on HN