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. Vivo Y600 Turbo Launched With 9,000mAh Battery at This Price
  2. Asus VM441 AiO All-in-One Desktop PC Launched in India With 24-Inch Display, Snapdragon X
  3. Oppo Pad 6 Launched in China With Flagship MediaTek Chip, These Features
  4. Xiaomi Smart Band 11 Active Bags Multiple Certifications Ahead of Debut
  5. Realme 16T vs OnePlus Nord CE 6 vs Motorola Edge 70: Price, Features Compared
  6. Oppo Reno 16 Series Launched With 200-Megapixel Rear Camera: See Price
  7. A New OnePlus Pad With This OLED Display Could Launch in India Soon
  8. Oppo Enco Air 5s Launched With Up to 48 Hours Total Battery Life
  9. Xiaomi 17T, Xiaomi 17 Pro Price, Storage Variants Leak Ahead of Launch
  10. Xiaomi 17T Amazon Availability, Zeiss-Tuned Telephoto Camera Confirmed
  1. Scientists Discover 77 Rare Red Quasars Hidden Behind Cosmic Dust
  2. Samsung Galaxy Z Fold 5, Galaxy Z Flip 5 Reportedly Receive One UI 8.5 Stable Update in India
  3. Xiaomi 17T Amazon Availability, Zeiss-Tuned Telephoto Camera Confirmed via Microsite
  4. Ethereum Co-Founder Vitalik Buterin Responds to Criticism of Ethereum Foundation
  5. iOS 27 Said to Offer Third-Party AirPlay Alternatives Such as Google Cast to EU Users
  6. Huawei Wants to Surpass Moore’s Law Constraints With Its New Scaling System
  7. Oppo Enco Air 5s Launched With 12mm Drivers, Up to 48 Hours Total Battery Life: Price, Features
  8. Oppo Pad 6 Launched With MediaTek Dimensity 9500s SoC and 10,420mAh Battery: Price, Specifications
  9. Bad Thoughts Season 2 Out on OTT: Know Everything About This Dark Comedy Show
  10. Kara OTT Release Date Confirmed: When and Where to Watch Dhanush’s Tamil Crime Drama Online?
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.