Live data from Hacker News

How To Hack Facebook In 51 Seconds

alleyinsider.com

1–10 of 13 posts

Re: How To Hack Facebook In 51 Seconds

#5
There've been some interesting articles on this topic in 2600 the past year or so. There was one (can't find it at the moment, will post a cite if I can dig it up) about viewing the information in sealed profiles and another about using an XSS attack to spoof friends request confirmations.

I don't recall much about the articles, but what I do recall are that, in each, the author noted that by the time he got the article written, the whole had been fixed.

Facebook is a big system, with a lot of possible holes, but it seems to be run by folks who care about security and respond well.

Re: How To Hack Facebook In 51 Seconds

#8
This isn't a facebook hack at all. It's a Moods application hack. Really, it's the application programmer's fault for not checking if the auth_token received corresponds to the fb_sig_user. James Hong's Pets application used to have the same problem, where you could sell other people's items to make money for your own pet. He just needed to validate his inputs...

And so do most amateurs web programmers.

Facebook is pretty secure. Its apps vary.

Re: How To Hack Facebook In 51 Seconds

#10
post #6
post #4

the moods app forgot to verify_sig on that request. i'm betting there are a lot of facebook apps like that.

I don't see why there would be a lot. Client libs usually take care of that. I don't know what these guys are doing here.

The client libs handle everything for you if you use fbml, since every request is proxied by facebook and has its own signature. If you use an iframe, like the Moods app and many other popular apps, requests go directly to your server, so you have to explicity include and validate a signature for each request.

It's still not terribly difficult, but most facebook app devs are trying to churn out apps and features so fast that there's no time for this kind of detail.

Post reply on HN