Samy
- Type
- Worm
- Capabilities
- Session hijacking
- Delivery
- Landing page
Samy, also known as JS.Spacehero, was a self-propagating cross-site scripting worm created by Samy Kamkar and released against MySpace in October 2005. It executed in the context of authenticated MySpace browser sessions, modified victims’ profiles to display a promotional message, sent a friend request to Kamkar from each affected account, and inserted a replicating copy of itself into the victim’s profile. The worm spread when other users viewed an infected profile, reaching more than one million users within approximately 20 hours. Its propagation relied on XSS and abuse of authenticated browser actions, demonstrating the confused-deputy risks posed by client-side script execution in a trusted web origin. MySpace remediated the underlying vulnerability after the outbreak.
Techniques & procedures
2 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
The Samy computer worm used cross-site scripting (XSS) to turn the browser's authenticated MySpace session into a confused deputy.
Collection
1 technique
Collection
There can be a close relationship between XSS and CSRF (CWE-352). An attacker might use CSRF in order to trick the victim into submitting requests to the server in which the requests contain an XSS payload.
Recent activity
14 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.