Feeds

Twitter bug creates account hijacking peril

One-click vuln 'ridiculously easy to attack'

  • alert
  • submit to reddit

SANS - Survey on application security programs

Twitter has been bitten by a hard-to-kill web-application bug that's being actively exploited to steal users' authentication credentials, a security expert said Tuesday.

A link that exploits the XSS, or cross-site scripting, vulnerability was included in tweets that sent users' session cookies to two servers under the control of attackers, according to Stefan Tanase, a security researcher for Russian anti-virus provider Kaspersky. The tweets, written in Brazilian Portuguese, claimed a popular band suffered a “tragic accident” and offered additional information.

The shortened link was clicked on more than 116,000 times, according to statistics from URL service bit.ly, although the actual number of people who fell for the attack is probably much smaller than that.

“We are currently working on taking down the malicious URLs and minimizing the damage as much as possible,” Tanase wrote. “Twitter along with other significant industry peers have of course been notified.”

He later updated the post to say that the vulnerability has been fixed.

Maybe, but at time of writing, Twitter was vulnerable to at least one other critical XSS hole that allowed attackers to steal authentication cookies with the simple click of a link. Mike Bailey, a web-application security expert with a firm called Mad Security, posted proof-of-concept code here. He told The Register the attack exploited a variation of the same bug Twitter supposedly fixed on Monday.

Sure enough, clicking the button caused our browser to tweet uncontrollably, but Bailey said the damage could have been much more extensive.

“I wrote this proof of concept in less than 10 minutes,” he wrote. “These things are ridiculously easy to attack. While this demo requires interaction, it doesn't have to. The entire attack could just as easily be completely silent.”

Bailey went on to say that his attack allows him to retrieve users' session cookies, which are sent once a correct password is entered.

To be sure, the attacks don't do much more than steal a cookie that allows an attacker access to a Twitter account for the remainder of the session, which is usually terminated when a user clicks the “sign out” link. Still, they're a reminder of the fragility of web security – and the uphill climb Twitter has if the site ever wants to become a trusted platform for its 105 million users. ®

Combat fraud and increase customer satisfaction

More from The Register

next story
Parent gabfest Mumsnet hit by SSL bug: My heart bleeds, grins hacker
Natter-board tells middle-class Britain to purée its passwords
Obama allows NSA to exploit 0-days: report
If the spooks say they need it, they get it
Web data BLEEDOUT: Users to feel the pain as Heartbleed bug revealed
Vendors and ISPs have work to do updating firmware - if it's possible to fix this
Samsung Galaxy S5 fingerprint scanner hacked in just 4 DAYS
Sammy's newbie cooked slower than iPhone, also costs more to build
Mounties always get their man: Heartbleed 'hacker', 19, CUFFED
Canadian teen accused of raiding tax computers using OpenSSL bug
Snowden-inspired crypto-email service Lavaboom launches
German service pays tribute to Lavabit
One year on: diplomatic fail as Chinese APT gangs get back to work
Mandiant says past 12 months shows Beijing won't call off its hackers
prev story

Whitepapers

Designing a defence for mobile apps
In this whitepaper learn the various considerations for defending mobile applications; from the mobile application architecture itself to the myriad testing technologies needed to properly assess mobile applications risk.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
Five 3D headsets to be won!
We were so impressed by the Durovis Dive headset we’ve asked the company to give some away to Reg readers.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.