Hacked: Worm sends Twitter users to porn sites

Advertisement
By Riva Richmond, New York Times | Updated: 8 June 2012 11:14 IST
Highlights
  • Twitter was overrun with posts on Tuesday morning that used a programming flaw to play pranks, distribute porn and spread worms to unsuspecting users.
Twitter was overrun with posts on Tuesday morning that used a programming flaw to play pranks, distribute porn and spread worms to unsuspecting users.

The problem appeared to be confined to Twitter's old Web interface, and does not affect the new interface that Twitter is gradually rolling out or to mobile applications. Security experts said that a JavaScript command in the offending posts included a command, "onmouseover," that caused messages to pop up and Web sites to open automatically when a mouse hovered over it. The script in some cases also caused a user to forward the offending link, spreading it virally to their followers and the rest of Twitter.

Twitter didn't immediately respond to a request for comment, but it posted a message on its status page saying: "We've identified and are patching a XSS attack; as always, please message @safety if you have info regarding such an exploit." At 9:50 Eastern time Twitter said it had fixed the flaw. (XSS is short for "cross site scripting" and refers to Web-application flaws that enable hackers to inject scripts into Web sites.)

Among the pranks was one that apparently ensnared Sarah Brown, wife of the previous British prime minister, Gordon Brown. A link on her Twitter page redirected visitors to a hard-core Japanese porn site, according to a blog by Graham Cluley, an expert at the security software maker Sophos. Mr. Cluley said there were tens of thousands of dodgy links circulating on Twitter.

The first worm of this kind appears to have been launched Tuesday morning by Magnus Holm, a Norwegian Ruby programmer who uses the Twitter handle @judofyr. His post contained only a link, which had the embedded command "onmouseover," a JavaScript command that caused the link to be automatically Tweeted by anyone whose mouse cursor touched it. In an e-mail, Mr. Holm said he created the worm "because I wanted to experiment with the flaw," which he says was already being exploited by others. "The purpose was simply to see if it was possible to create a worm."

His worm turned the text in the post into black blocks to hide the dangerous text. Mr. Holm said his worm spread to at least 200,000 users. That, he wrote, "really surprised me! Because it was very easy to delete the Tweet that contained the worm, I expected that everyone would just delete it the moment they realized that they've been 'infected.' "

Mr. Holm described his worm as "harmless," but it appears to have inspired more malicious attacks by others. One such worm, which entirely took over victim's computer screens, appears to have been started by a Twitter user called @matsta. Matsta's Web site contained the 1980s singer Rick Astley's music video for "Never Gonna Give You Up" with an added message: "Rick is dancing because he just lost the game." The first worm to strike the iPhone, launched in November 2009, also paid tribute to Mr. Astley. Twitter has since disabled @matsta's account.

A more malicious worm "downloaded some nasty code from a Russian server," Mr. Holm said, a fact that suggests cybercrime organizations might have joined the action.

Security experts have been recommending that Twitter users avoid the Web site and instead use a third-party Twitter client like TweetDeck to access the service. Using a JavaScript blocker, such as the NoScript ad-on for Firefox, offers protections from attacks of this kind.

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Further reading: Twitter, Twitter hacked
Advertisement

Related Stories

Popular Mobile Brands
  1. These Sony Signature Series Walkman Models Launch With Premium Design
  2. Oppo Find X10 Series to Debut in India With This Industry-First Camera Unit
  3. CERT-in Warns of Unauthorised Access by AI Agents
  4. Dell Alienware 15 (2026) Review: Gaming Power With a Catch
  5. Samsung Galaxy SmartTag 3 India Launch Timeline Revealed
  6. Best Smartphones under Rs. 30,000 with MediaTek SoC
  7. Microsoft Announces $50 Xbox Nano Controller, Launch Set for Next Month
  1. OpenAI AI Model Used Another Wallet’s Ethereum Testnet Funds Without Authorisation, Report Says
  2. Samsung Galaxy SmartTag 3 India Launch Timeline Confirmed by Company Executive
  3. CERT-in Issues Critical Warning After AI Agents Broke Into Indian Organisations' Live Systems
  4. Microsoft Announces $50 Xbox Nano Controller, Launch Set for Next Month
  5. Samsung Galaxy A38 5G Rear Camera Specifications Leaked; May Feature Same Sensors as Galaxy A37
  6. Meta’s Muse Spark Open Model Brings 1M-Token Context Window, Agentic AI Workflows to Apple Mac Studio
  7. Oppo Find X10 Pro Max Confirmed to Launch in India as First Phone With a Triple 200-Megapixel Camera System
  8. Ripple Partners With Cross River to Integrate RLUSD Into Core Banking Platforms
  9. Redmi K100 Officially Confirmed to Launch Later This Month; Pre-Orders Begin
  10. YouTube Music Will Now Display Labels for AI-Generated Music Integrated into the Player
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.