Slashdot Mirror


Facebook Bug Lets Hackers Delete Friends

swandives writes "There's lot of talk about Facebook and privacy at the moment, but a bug in Facebook's website lets hackers delete Facebook friends without permission. Steven Abbagnaro, a student from Marist College in Poughkeepsie, New York, reported the flaw, writing proof-of-concept code that scrapes publicly available data from users' Facebook pages and deletes all of their friends, one by one. The victim first has to click on a malicious link while logged into Facebook. Abbagnaro's code exploits the same underlying flaw that was first reported by Alert Logic security analyst M.J. Keith who discovered a cross-site request forgery bug, where the website doesn't properly check code sent by users' browsers to ensure that they were authorized to make changes on the site."

17 of 89 comments (clear)

  1. This is not a bug by Anonymous Coward · · Score: 5, Funny

    "It's a feature."

  2. Re:GOOD I'VE GOT A FEW FRIENDS I DON'T NEED ANYMOR by MichaelSmith · · Score: 3, Funny

    Thats one hell of a bug. I didn't know you could do that much damage with php.

  3. Raising false hopes by Thanshin · · Score: 5, Funny

    In case you didn't RTFA, you can only delete the link between your facebook accounts, not the friends themselves.

    And so dies our intricate plan to befriend our enemies and erase them from existance.

    1. Re:Raising false hopes by MichaelSmith · · Score: 5, Informative

      They're a bunch of spoil sports:

      5/11/2010 – Facebook notified of vulnerability
      5/13/2010 – Work begins with Facebook to patch flaw.
      5/14/2010 – Facebook confirms flaw is patched.

      5/24/2010 – Post on slashdot.

    2. Re:Raising false hopes by Thanshin · · Score: 5, Funny

      They're a bunch of spoil sports:
      5/11/2010 - Facebook notified of vulnerability
      5/13/2010 - Work begins with Facebook to patch flaw.
      5/14/2010 - Facebook confirms flaw is patched.

      5/24/2010 - Post on slashdot.

      5/28/2010 - Dupe post on Slashdot.
      6/15/2010 - Trupe post on Slashdot.
      6/15/2010 - AskSlashdot question about whether dupe+1 = trupe or redupe. Links to original post.
      6/15/2010 - Slashdot is slashdotted, creating a singular paradox.
      5/24/2010 - The end of the world as we know it.

  4. So THAT'S Why I Don't Have Any Friends on Facebook by Anonymous Coward · · Score: 3, Funny

    It was ... the hackers ... yes, that's it, it was the hackers that must have made everyone defriend me.

  5. Social networking sucks by asherlev · · Score: 5, Insightful

    I deleted my Facebook account a week or so ago, and I was, at the time, hoping that diaspora would end up being something besides vaporware. After a week without it, though, I find myself pleased with my lack of knowledge about what people I didn't like in high school had for dinner.

    1. Re:Social networking sucks by AmonTheMetalhead · · Score: 3, Insightful

      Why did you befriend them if you don't like them?

    2. Re:Social networking sucks by ClioCJS · · Score: 3, Insightful

      Blaming facebook for your friend choices. Classy.

      --
      -Clio
      Karma: Bad (mostly from not giving a fuck)
      Blog: http://clintjcl.wordpress.com
    3. Re:Social networking sucks by Fnkmaster · · Score: 4, Insightful

      Just to give you a word of support - ignore the people saying it's your fault for who you accepted as a friend. The problem is that it's easy to say "yes, this person is my friend", even if they are somebody marginal who you never particularly cared for (it's easy to click "Ignore" for evil ex-girlfriends and the real assholes from high school). But it's very hard to rethink that and unfriend them in such a public forum later on, and have to deal with awkward questions about why you unfriended so-and-so. However, that is what Facebook made the "hide this person's updates" feature for - when somebody isn't egregiously awful enough to unfriend, but you just don't want to see their bullshit updates anymore.

      In any case, I didn't actually delete my Facebook account, but I have cleared out any information but the absolute basics. And I began an experiment by avoiding logging into Facebook for a week. I found that I rapidly reverted to visiting other websites and finding other things online to fill my down time at work.

      I believe the reason Facebook is so addictive is the feed mechanism. It fills our psychological need for gossip and trivial sorts of information about friends. However, like many addictive things, I think too much of a "good" thing (and by good thing, I mean it's fun, enjoyable, makes us feel connected) is no longer a good thing. While I want to know when old friends go back to grad school, get engaged, married, or have their first kids, I don't really want to hear somebody's snarky comments about their workplace, read about their lost cell phone, hear about how they just bought an iPad and it's changed their lives, or read about their drunken escapades.

      So the point - I agree with you, and I think we are both going to be happier, with cleaner, fresher, less cluttered minds for turning our backs on this inane distracting chatter. Saying "I'm Facebook friends with them" has become synonymous with "they are somebody I know but don't really give enough of a shit about to keep up with in real life".

    4. Re:Social networking sucks by sakdoctor · · Score: 4, Insightful

      You're missing the point because that isn't the reality of using facebook.

      What actually happens is that when you first signed up, you naively used your real name. Then loads of people from your past, who you couldn't give two shits about, inexplicably add you.
      As a new user you aren't going to press ignore, so you confirm everyone.

      In the default mode, your front page is now full of the most verbose idiots literally broadcasting what they had for dinner.

      Finally you delete your account, because facebook is a horrible ad ridden, malware invested fad, and it's dying. Or at least becoming a zombie.

    5. Re:Social networking sucks by StuartHankins · · Score: 4, Funny

      They were going to give him a wedgie if he didn't add them.

  6. Re:GOOD I'VE GOT A FEW FRIENDS I DON'T NEED ANYMOR by Thanshin · · Score: 4, Funny

    How soon can I get them out of the picture, if you know what I mean.

    Sorry but I don't think the hack goes as far as photoshopping your pictures to erase your friends from them.

  7. Patched already by wannabgeek · · Score: 4, Informative

    The CSRF bug page in the summary says that facebook confirmed that it's patched already. And the actual hacker's page says that he found if he does a little more (delete a few more parameters as well as the "post_form_id"), the CSRF resurfaces.

    Anyway, he posted an update saying fb patched this one now (22 May)..

    --
    I'm much more funny, interesting and insightful than the moderators think
  8. a self-copying worm code by bl8n8r · · Score: 3, Interesting

    The article seems to be directed at facebook, but it sounds to me like there needs to be a browser or OS exploit first in order to work: "combine an exploit for this bug with spam or even a self-copying worm code". I'm not a facebook user (get off my lawn), but a lot of XSS flaws are browser specific and if there is a general browser exploit going on, this could affect more websites than facebook. TFA just sounds a little misdirected to me.

    --
    boycott slashdot February 10th - 17th check out: altSlashdot.org
  9. Hey, wait a minute... by wilder_card · · Score: 3, Funny

    Hackers have friends???

  10. No Mother-in-law by ubrgeek · · Score: 3, Insightful

    I didn't delete you as a friend. And now the system won't let me add you back. Damn those evil, evil hackers!

    --
    Bark less. Wag more.