Twitter Fixes ‘Onmouseover’ Flaw

Social networking site Twitter has reacted swiftly after a flaw in its website was exploited to generate pop-up messages and links to porn sites.

Twitter has since fully patched the flaw, which comes just one week after Twitter rolled out a major redesign of its site.

The problem occurred when Twitter users began finding that they only had to place their mouse pointer over a message containing a link for it to open, without clicking. This is referred to as a “onmouseover” issue and it uses a JavaScript command to also generate pop up messages.

The code exploited what is known as a cross-site scripting (XSS) vulnerability. However those people using third-party Twitter software – such as Tweetdeck – were apparently unaffected by the problem.

Sarah Brown Hit

Meanwhile security vendor Sophos has said that users need to be more cautious in the future. It said that thousands of Twitter accounts have posted messages exploiting the flaw, with victims including Sarah Brown, wife of the former British Prime Minister whose Twitter page appears to have been messed with in an attempt to redirect visitors to a hardcore porn site hosted in Japan.

“It seems many users are currently using the flaw for fun and games, but there is obviously the potential for cybercriminals to redirect users to third-party websites containing malicious code, or for spam advertising pop-ups to be displayed,” said Graham Cluley, senior technology consultant, Sophos.

“Some users are also exploiting the loophole to create tweets that contain blocks of colour (known as rainbow tweets),” he said. “Because these messages can hide their true content, it might prove hard for some users to resist clicking on them. Hopefully Twitter will shut down this loophole as soon as possible – disallowing users to post the onMouseOver JavaScript code.”

“We’ve identified and are patching a XSS attack; as always, please message @safety if you have info regarding such an exploit,” said Twitter on its status update blog.

It later confirmed that the exploit had been fully patched.

Other Problems

This is not the first time Twitter has been hit with security problems.

In January a security researcher uncovered some holes in Twitter that could allow a attacker to steal cookies and user session Ids.

And in December last year Twitter was hacked and its main pages replaced for about an hour, between about 10pm and 11pm Pacific time (6am and 7am GMT) on 17 December 2009.

During that time, Twitter was replaced with a black background page showing a green flag and with a headline that read, in English: “Iranian Cyber Army … This Website Has Been Hacked by Iranian Cyber Army.”

Tom Jowitt

Tom Jowitt is a leading British tech freelancer and long standing contributor to Silicon UK. He is also a bit of a Lord of the Rings nut...

Recent Posts

Apple, Google Mobile Ecosystems Should Be Investigated, CMA Told

CMA receives 'provisional recommendation' from independent inquiry that Apple,Google mobile ecosystem needs investigation

2 days ago

Australia Rejects Elon Musk Claim About Social Media Ban For Under-16s

Government minister flatly rejects Elon Musk's “unsurprising” allegation that Australian government seeks control of Internet…

2 days ago

Northvolt Files For Bankruptcy Protection In US

Northvolt files for Chapter 11 bankruptcy protection in the United States, and CEO and co-founder…

2 days ago

UK’s CMA Readies Cloud Sector “Behavioural” Remedies – Report

Targetting AWS, Microsoft? British competition regulator soon to announce “behavioural” remedies for cloud sector

3 days ago

Former Policy Boss At X, Nick Pickles, Joins Sam Altman Venture

Move to Elon Musk rival. Former senior executive at X joins Sam Altman's venture formerly…

3 days ago

Bitcoin Rises Above $96,000 Amid Trump Optimism

Bitcoin price rises towards $100,000, amid investor optimism of friendlier US regulatory landscape under Donald…

3 days ago