Twitter took its browser-based TweetDeck service offline Wednesday as it wrestled with a vulnerability that criminals exploited to tweet script-filed messages to victims' feeds.
"We've temporarily taken TweetDeck services down to assess today's earlier security issue," Twitter's TweetDeck account reported at 1 p.m. ET, 10 a.m. PT.
An hour later, the service was back up and running. "We've verified our security fix and have turned TweetDeck services back on for all users. Sorry for any inconvenience," TweetDeck said, again on Twitter, at 1:55 p.m. ET, 10:55 a.m. PT. Computerworld confirmed by logging into an account at tweetdeck.twitter.com.
A cross-site scripting (XSS) vulnerability was to blame, researchers quickly said.
"This vulnerability very specifically renders a tweet as code in the browser, allowing various cross-site scripting (XSS) attacks to be run by simply viewing a tweet," said Trey Ford, a security strategist at Rapid7, in an email. "The current attack we're seeing is a 'worm' that self-replicates by creating malicious tweets."
The vulnerability primarily affected users who had installed the TweetDeck Web app designed for Google's Chrome browser, but there were scattered reports that the bug also impacted the Windows client application and the Web app for Firefox.
Twitter itself, including its website-based feed and those it served to its own and third-party desktop and mobile clients, was unaffected.
Earlier Wednesday, TweetDeck urged users to log out of the service, then log back in, a process that was meant to clear users' sessions and thus prevent any additional malicious tweeting. Some who followed instructions, however, continued to see unauthorized tweets on their feeds.
Rapid7's Ford compared the TweetDeck problem to the "Samy" worm that crawled through MySpace nine years ago. Named for its maker, Samy Kamkar -- who later pled guilty to hacking charges and served three years of probation -- the worm exploited a cross-site scripting vulnerability in the then-popular MySpace social network. The worm automatically made friend requests to Kamkar, and spread when victims viewed their profiles.
"This [TweetDeck] worm does not appear to have the ability to force your account to follow the attacker," Ford asserted.
Gregg Keizer covers Microsoft, security issues, Apple, Web browsers and general technology breaking news for Computerworld. Follow Gregg on Twitter at @gkeizer, on Google+ or subscribe to Gregg's RSS feed. His email address is [email protected].
Read more about malware and vulnerabilities in Computerworld's Malware and Vulnerabilities Topic Center.