back to article TweetDeck XSS flap: Miscreants flash their naughty bits at users

Twitter aficionados are being warned to log out of Twitter client TweetDeck and revoke its access to their accounts after an apparent cross-site scripting vulnerability was discovered. Multiple users – including El Reg's HQ in London, England – reported on Wednesday that they had seen a suspicious pop-up within Tweetdeck that …

COMMENTS

This topic is closed for new posts.
  1. Crazy Operations Guy

    This was bound to crop up eventually

    I wish that they'd put some sort of protection against this kind of thing into the HTML spec, some sort of tag to mark a section to be text-only and should not be executed or rendered. To prevent XSS attack, you could always dynamically create a 'check code' at serving time. Or maybe use a length setting. Or both.

    Something like this:

    The source file would look this:

    <NoExecute> (data to be displayed) </NoExecute>

    and would be sent to the client as:

    <NoExecute check=asgdy8y3894he98hqwdh> (Data to be displayed) </NoExecute check=asgdy8y3894he98hqwdh>

    -or-

    <NoExecute length=256> (data that has been padded to be 256 bytes in length) </NoExecute>

    Something like this would solve a lot of problems and will help alleviate a lot of security issues where the user is allowed to enter arbitrary data.

    1. Michael Shelby

      Re: This was bound to crop up eventually

      But then the attacker could just enter:

      {256 bytes of stuff}

      </NoExecute>

      {evil code}

      <NoExecute length=256>

      {256 bytes of stuff}

      HTML mixes data and code, period. There is no way to separate them, the damage is done, we are all doomed.

      1. Crazy Operations Guy

        Re: This was bound to crop up eventually

        My thought on the length method would be in cases where the input length has already been restricted to that amount earlier, such as on Twitter where you only have 160 characters of input or El Reg with the limit of 10,000 characters per post. Otherwise you'd use a check value.

        I know we are all doomed, but I figure that with some protection like this, we'll be less doomed.

        1. This post has been deleted by its author

          1. Tim Jenkins

            Re: This was bound to crop up eventually

            In that case, 'doom' needs an SI unit. Can I suggest that from now on all degrees of doomedness be expressed in fractions or multiples of the size of wails?

  2. Andrew Jones 2

    Well I'm incredibly disappointed that I missed all the fun!

    I didn't get a pop up or anything!

  3. Anonymous Coward
    Anonymous Coward

    Meanwhile in other news

    The majority of the population continues to ignore Twitter

This topic is closed for new posts.

Other stories you might like