Twitter Compromised by Chris

Today a Twitter user who goes by the name “Bon” utilized a flaw in Twitter’s code to post messages on other accounts (through the Twitter API).

Bon’s exposure of the bug posted this message on hundreds of Twitter accounts:

Looking at Bon’s Twitter page - http://twitter.com/x

Innocent enough, however the fear of hacking was in the air. Soon after the initial run of posts, Bon (who’s page appears to be victimized by the flaw as well) posted this message:

Hello everyone. Twitter has not been hacked. It has merely been taken advantage of. This is my little experiment. Everything is safe. Go back to bed.

The messages continued however and there was no certainty as to whether private information (passwords) had been accessed. Drew McClellan set aside those fears and posted this:

looked at Bon’s page with curl :) He’s using a CSS url hack to post with the API. It uses the fact that your browser is logged in. Account not compromised

As of right now Twitter appears to be back to normal. Twitterers are twittering that they’re sending emails in, so this issue should be resolved shortly.

In the meantime, this begs the question - how much customization is too much? At what point do we need to worry about compromising a user’s security? Of course, major sites like MySpace face this problem on a daily basis - in fact we reported on a similar issue at Google a few weeks ago. The web 2.0 space demands customization - however there are obvious drawbacks. It will be occurrences like these that help to define the line between security and creativity.

Update: Jack from Twitter responds in the comments below, noting that Bon did in fact alert Twitter about the bug. It is now patched!

Posted in Security, Web 2.0, Web development. January 14, 2007

2 Comments »

  1. Thanks, Chris.

    Bon informed us immediately after discovering this XSS hole, and we’ve patched it up. We owe him!

    Best,
    jack.

    Comment by Jack — January 15, 2007 @ 2:21 am
  2. http://simplify3.wordpress.com/2006/12/10/hello-world/trackback/

    [I sure hope my Twitter Submitter doesn't exploit any flaws! I just want to make it easier for ppl to develop interface applications without too much trouble!! -Ken - see below]

    http://www.zen72119.zen.co.uk/TwitterSubmitter/

    to see Twitter Submitter in action or download the simple to modify HTML at:

    http://simplify3.wordpress.com/2006/12/10/hello-world/trackback/

    Twitter Submitter works on any browser, any computer system. It allows you to post updates to your Twitter blog. I wrote it as I have a Win95 system and enjoy using Lynx and Opera, and all of the nifty apps accessing the Twitter API are too complex, confusing for me, or only work on a Mac or Vista system!

    Also found through: http://twitter.pbwiki.com - Twitter Fan Wiki, among other places!

    Kenneth Udut
    simplify3@aol.com
    http://twitter.com/simplify3
    Bringing Web2.0 to the Web1.0 world!

    Comment by Kenneth Udut — January 22, 2007 @ 5:42 am

Subscribe to comment feed

Leave a comment