More

Twitter Bug Really Really Worries The White House Press Corps

First Posted: 09/22/10 01:13 PM ET Updated: 05/25/11 06:50 PM ET

Wh Press Room

Yesterday was a big day in Washington, and for your White House Press Corps: big votes on "Don't Ask Don't Tell" and the DREAM Act, the six-month anniversary of the Affordable Care Act, elections looming in the distance -- in short, lots to talk about. But first! Twitter! Will it cause the next 9/11? The White House Press Corps is concerned!

But before we get into that, let's explain what happened to Twitter, for the benefit of all you good people who are resolved to live a life free of microblogging. For that, we turn to Ars Technica:

Anyone checking twitter.com this morning was probably greeted with a mess of JavaScript, mouseover effects, and spam retweets, after a flaw in the site's handling of hyperlinks allowed attackers to inject scripts into Twitter's pages. The mere act of visiting the site with scripting enabled was sufficient to cause exploitation. Payloads ranged from the harmless--tweets with a black background--to the more malicious--redirection to porn sites.


The flaw was classified as a cross-site scripting (XSS) bug. Due to an error in the way that Twitter processed messages, it was possible to include JavaScript in tweets, and that JavaScript could then do more or less anything, including sending more JavaScript-containing tweets. The technique was devised last night by Twitter user Magnus Holm. Holm says that he didn't find the XSS flaw itself, but he appears to have been the first to write a worm that exploited it.

Generally, Web applications that incorporate text from untrusted sources should ensure that text is safe before displaying it to people. Today's flaw was a result of a failure to do that correctly. The twitter.com website converts URLs in tweets into clickable hyperlinks. However, if that URL contained an "at" symbol (@), the conversion process was not handled properly, converting part of the URL into JavaScript embedded into the page. Because this JavaScript is embedded in pages on twitter.com, it has free and unfettered access to other website features, including the ability to send tweets. This allows embedded JavaScript to propagate itself further, hence forming the basis of today's worms that saw many tens of thousands of tweets sent automatically.

Twitter has since fixed this flaw in its service, which could be fairly said to have been a small inconvenience to a lot of people for a brief period of time.

Ars Technica had its piece on the matter up at 11:03 A.M. yesterday morning and it's a real pity that no one in the White House Press Corps was aware of it, because in the briefing, they sort of let their imaginations run wild!

Q: And on another subject, Twitter had a bug this morning.


MR. GIBBS: I noticed.


Q Yes, you did. (Laughter.)


MR. GIBBS: I still don't know what happened. I just emailed the tech guys and said I don't know what just happened. But I don't know whether it was -- there were a lot of characters and letters that didn't seem to line up into anything.

Q Can you pause in actually using Twitter to disseminate information from the White House?

MR. GIBBS: Well, pretty safe to assume that all those letters and numbers and what have you, I don't know that -- I don't know what that disseminated. I didn't seem to make any look like -- look -- I was going to say, look like a scene out of the movie "War Games." I don't know what -- no, I don't -- look, you know, from time to time, I have no doubt that there will be those that want to gum up the system and things like that. I don't hesitate to continue to use it. I thought I'd done something horrific to my own computer and quickly made sure I didn't spill anything on my keyboard or -- because at one point on my computer it just had people's names on Twitter and then all of their --

Q Personal information.

MR. GIBBS: Well, no, all of their -- all of their message was blacked out as if the whole thing was redacted. I thought that was -- at first I thought that was somebody's message and I thought, I don't know what that means, but that's kind of funny. But then I realized it was happening to half my messages.

I've no idea where the idea that "personal information" was exposed came from. As Ars Technica points out, the extent of the maliciousness ranged from blacked-out tweets to redirection to porn sites. But why should the actual facts get in the way of a good scare!

Q But why doesn't that concern you, that there might be some sort of security breach in the messages that you're disseminating from the White House, that this could be scrambled or misinterpreted or redirected in some way?


MR. GIBBS: Well, again, since the words didn't equal -- since the combination of letters and numbers didn't actually equal a message, I'm not worried about that code being misinterpreted.

Basically, yes. This was a security breach of Twitter, not a security breach of the White House. It scrambled and misinterpreted and redirected messages from a whole lot of people. Rational people understand that their Twitter friends probably didn't mean to send them weird redacted messages and links to porn sites. The Twitter worm did not have access to state secrets and it is not like that terrible Kristin Bell movie, where monsters in our cellphones jump into washing machines and attack us.

Eventually, Gibbs settled the matter by pointing out that technology gets disrupted from time to time, and if we got terrified at every turn by hacks and malware we'd all be writing on "parchment." "It's just the vagaries of doing business," said Gibbs. And soon, the White House Press Corps was doing what they do best, pressing the spokesman of the leader of the free world on the relative merit of using Slurpees as a campaign metaphor -- you know, the People's Business.

[Would you like to follow me on Twitter? Because why not? Also, please send tips to tv@huffingtonpost.com -- learn more about our media monitoring project here.]

FOLLOW HUFFPOST MEDIA

Yesterday was a big day in Washington, and for your White House Press Corps: big votes on "Don't Ask Don't Tell" and the DREAM Act, the six-month anniversary of the Affordable Care Act, elections loom...
Yesterday was a big day in Washington, and for your White House Press Corps: big votes on "Don't Ask Don't Tell" and the DREAM Act, the six-month anniversary of the Affordable Care Act, elections loom...
 
 
  • Comments
  • 41
  • Pending Comments
  • 0
  • View FAQ
Comments are closed for this entry
View All
Favorites
Recency  | 
Popularity
Page: 1 2  Next ›  Last »  (2 total)
photo
ghostrider57
Unable to find reality.sys Universe halted
09:36 AM on 09/23/2010
Have to love this question:
"Q But why doesn't that concern you, that there might be some sort of security breach in the messages that you're disseminating from the White House, that this could be scrambled or misinterpreted or redirected in some way? "

Brought to you by the MSM, scrambling, misinterpreting and redirecting news on a daily basis.
06:20 AM on 09/23/2010
-personally I find carrier pidgeons very underated on this issue.
photo
KAL-EL
Every time I fill out my bio I get banned.
04:02 AM on 09/23/2010
Twitter, so aptly named.
Henri101
There is nothing more dangerous than sincere ignor
01:00 AM on 09/23/2010
This group of White House Correspondents seem to be a group of misfits who are more concern about frivolous matters rather than matters of national and international importance.
11:06 PM on 09/22/2010
I have done some searching but found no answers: Did this bug affect Macs? I'm not a Tweetee/TwitFace or whatever, but I was curious to know if this was a browser-specific thing or an OS-dependent issue. Anyone know?
photo
HUFFPOST SUPER USER
33Greeper
10:34 PM on 09/22/2010
Let ALL the Bush Tax Cuts expire!
photo
HUFFPOST SUPER USER
pakaal
Pigs, in cages, on antibiotics
12:18 AM on 09/23/2010
Bring tax rates back to 1980 levels. I think that's more than fair.

http://en.wikipedia.org/wiki/Income_tax_in_the_United_States
photo
HUFFPOST SUPER USER
Acharn
10:04 PM on 09/22/2010
""It's just the vagaries of doing business," said Gibbs." It's too bad they didn't feel that way when Captain Crotchfire immolated himself.
09:23 PM on 09/22/2010
Then Helen Thomas said "tell them to get the hell out of Twitter"!
HUFFPOST SUPER USER
Beth Boyle
08:54 PM on 09/22/2010
Twitter Is sooooooo lame.
08:01 PM on 09/22/2010
Quick! Dust off the ole' typewriters and news wire!
photo
magnetplanner
I'm late, but you're not. Good work so far.
08:17 AM on 09/23/2010
Not gonna happen. That would require a train of thought.
07:21 PM on 09/22/2010
Every time I see or hear Gibbs putting out a "message", it reinforces my determination to get a REAL Democrat from the Democratic wing of the Democratic Party to rplace his boss in 2012. Will there be another Carter-Kennedy 1980 knock-down-drag-out? I sure hope so, to liberate the Democrats.
This user has chosen to opt out of the Badges program
photo
06:25 PM on 09/22/2010
I swear. Just give me 5 minutes in a room, alone with the Washington Press Corps and a wiffle ball bat.
photo
HUFFPOST SUPER USER
jsgaetano
Semper Fidelis Tyrannosaurus!
05:34 PM on 09/22/2010
Oh Noes!  Teh Twitzor!

How did anything ever happen before we had the ability to pust 70 character messages to a web site?
09:18 PM on 09/22/2010
We had a longer attention span then.
photo
HUFFPOST SUPER USER
mediamarv
1-2-3 Is this thing working?
05:14 PM on 09/22/2010
WH Press Corps and freaks in the same sentence... sweet!!
This user has chosen to opt out of the Badges program
photo
04:52 PM on 09/22/2010
I'm glad I'm not a twit that tweets on twitter
or right now I'd be labeled a quitter.
photo
HUFFPOST SUPER USER
rgilley
05:40 PM on 09/22/2010
Ahhhh but quitting is the new way of winning.....just ask Palin who is grinning! (:
This user has chosen to opt out of the Badges program
photo
05:46 PM on 09/22/2010
Ahhh well, there you got me,
it's the one thing Palin has taught me!;-))
This user has chosen to opt out of the Badges program
photo
05:52 PM on 09/22/2010
Oh, and backatcha!!;-)
#447