Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.


08:25 AM
Connect Directly

Zero Day Flaw Found in MySpace

A variant of an XSS vulnerability opens the door for worms, phishing, and port scans via the popular social networking site

A researcher has published proof-of-concept code on a zero-day vulnerability he found on MySpace.com -- and another variation on the cross-site scripting (XSS) theme.

Called XSS fragmentation, the vulnerability consists of multiple chunks, or fragments, of JavaScript malware that can slip by a filter or firewall because individually they don't constitute a security risk. But when they are combined after hitting the site, they can then be dangerous.

XSS fragmentation is rare, but a potentially powerful vulnerability that could be used against community-based sites such as MySpace or Web-based mail systems, security experts say. MySpace in particular is vulnerable because it takes user-supplied content and stores it without adequate filtering, says Jeremiah Grossman, CTO of White Hat Security. An e-commerce site would not be at risk to this type of attack, he says.

XSS in general has become one of the most prevalent targets of online hackers, with many major Websites sporting XSS vulnerabilities. (See Cross-Site Scripting: Attackers' New Favorite Flaw and Hackers Reveal Vulnerable Websites.)

With XSS fragmentation, an attacker could inject the script fragments onto the MySpace user's interests section, such as music and film, according to the proof-of-concept posting by kuza55, the hacker who discovered the vulnerability.

Once the JavaScript fragments get on the site, they assemble and do their dirty work -- dropping a worm, stealing browser history, port-scanning a victim's intranet, or shooting off phishing emails purportedly from MySpace to steal logins and passwords.

"I personally have only seen XSS fragmentation a few times," says hacker Rsnake, founder of the sla.ckers.org site where kuza55 posted the proof-of-concept code. "This isn't that common of an attack, as it generally requires that there be two or more places to inject code on the page."

Interestingly, scanning alone won't detect XSS fragmentation, nor will blacklisting eliminate the threat. White Hat Security's Grossman, whose company runs a vulnerability assessment and management service for Websites, says it takes human intervention to detect such a vulnerability or attack because it's typically targeted at a specific site or organization. Whitelisting -- specifying what data is allowed -- would be a better way to prevent such an attack, he says.

"This attack is pretty involved. Scanning is not going to find it, but human assessment would," he says. "In Web attacks, there's going to be someone sitting behind a browser... You have to match their skillset, and that's where the human assessment part" comes in.

MySpace had not responded to inquiries for this article as of presstime.

— Kelly Jackson Higgins, Senior Editor, Dark Reading

  • WhiteHat Security Kelly Jackson Higgins is the Executive Editor of Dark Reading. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

    Comment  | 
    Print  | 
    More Insights
  • Comments
    Newest First  |  Oldest First  |  Threaded View
    How to Think Like a Hacker
    Dr. Giovanni Vigna, Chief Technology Officer at Lastline,  10/10/2019
    7 SMB Security Tips That Will Keep Your Company Safe
    Steve Zurier, Contributing Writer,  10/11/2019
    Register for Dark Reading Newsletters
    White Papers
    Cartoon Contest
    Current Issue
    7 Threats & Disruptive Forces Changing the Face of Cybersecurity
    This Dark Reading Tech Digest gives an in-depth look at the biggest emerging threats and disruptive forces that are changing the face of cybersecurity today.
    Flash Poll
    2019 Online Malware and Threats
    2019 Online Malware and Threats
    As cyberattacks become more frequent and more sophisticated, enterprise security teams are under unprecedented pressure to respond. Is your organization ready?
    Twitter Feed
    Dark Reading - Bug Report
    Bug Report
    Enterprise Vulnerabilities
    From DHS/US-CERT's National Vulnerability Database
    PUBLISHED: 2019-10-17
    rtl_p2p_noa_ie in drivers/net/wireless/realtek/rtlwifi/ps.c in the Linux kernel through 5.3.6 lacks a certain upper-bound check, leading to a buffer overflow.
    PUBLISHED: 2019-10-16
    HongCMS 3.0.0 has XSS via the install/index.php servername parameter.
    PUBLISHED: 2019-10-16
    HongCMS 3.0.0 has XSS via the install/index.php dbname parameter.
    PUBLISHED: 2019-10-16
    HongCMS 3.0.0 has XSS via the install/index.php dbusername parameter.
    PUBLISHED: 2019-10-16
    HongCMS 3.0.0 has XSS via the install/index.php dbpassword parameter.