Twitter Says Security Flaw Patched

執筆者
Brian Prince
Brian Prince
Published: Sep 21, 2010
Updated: Feb 2, 2021
2 minute read
eWeek のコンテンツおよび製品のおすすめは、編集上の独立性を保っています。パートナーへのリンクをクリックすると、当社が報酬を得る場合があります。 詳細を見る

Twitter says it has patched a cross-site scripting issue that was exploited by attackers the morning of Sept. 21.

The flaw allowed attackers to display pop-windows or redirect users if they scrolled their cursors over a link. The attacks took advantage of a JavaScript function called onMouseOver, which allows Webpages to do things when a user passes over a piece of text with their mouse.

According to Sophos, the issue impacted thousands of users, among them Sarah Brown, the wife of former British Prime Minister Gordon Brown.

“It appears that in Sarah Brown’s case her Twitter page has been messed with in an attempt to redirect visitors to a hardcore porn site based in Japan,” blogged Graham Cluley, senior technology consultant at Sophos. “That’s obviously bad news for her followers – over one million of them.”

“Some users [were] also seemingly deliberately exploiting the loophole to create tweets that contain blocks of colour (known as “rainbow tweets”),” he added. “Because these messages can hide their true content they might prove too hard for some users to resist clicking on them.”

Twitter user Magnus Holm tweeted that he created a worm to target the issue, but did not find the cross-site scripting vulnerability itself. In an interview with BBC, he reportedly said that he wanted to exploit the hole without doing any real harm, but the flaw had been identified by others who used it for other purposes.

“There were several other tiny hacks using the exploit – I only created the worm,” he was quoted as saying.

In a blog post on the incident, Twitter Security Chief Bob Lord said the security vulnerability at issue was actually patched last month, but the issue was reopened by a recent site update unrelated to the Twitter revamp announced last week.

“First, someone created an account that exploited the issue by turning tweets different colors and causing a pop-up box with text to appear when someone hovered over the link in the Tweet,” Lord explained. “This is why folks are referring to this an “onMouseOver” flaw — the exploit occurred when someone moused over a link.”

“Other users took this one step further and added code that caused people to retweet the original Tweet without their knowledge,” he added.

Lord noted that the exploit affected Twitter.com and not its mobile site or mobile applications.

Advertisement

“The vast majority of exploits related to this incident fell under the prank or promotional categories,” he wrote. “Users may still see strange retweets in their timelines caused by the exploit. However, we are not aware of any issues related to it that would cause harm to computers or their accounts. And, there is no need to change passwords because user account information was not compromised through this exploit.”

*This story was updated to add new comment from Twitter.

Brian Prince

Brian Prince

Content Writer
eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

TechnologyAdvice が所有・運営しています。 © 2026 TechnologyAdvice. 無断転載を禁じます

広告主に関する開示:このサイトに掲載されている製品の一部は、TechnologyAdvice が報酬を受け取っている企業のものです。この報酬は、製品がこのサイトのどこにどのように表示されるか(表示される順序など)に影響する場合があります。TechnologyAdvice は、市場で入手可能なすべての企業やすべての種類の製品を掲載しているわけではありません。