Skip to content
XSS Write-up Intermediate

Samy Worm olayı

A stored cross-site scripting flaw in MySpace profiles allowed a self-propagating JavaScript worm to add itself to visitors' profiles and friend lists. It infected over a million users within hours.

medium.com

Published on medium.com

2005 yılında keşfedilen, oldukça ünlü bir Cross-Site Scripting (XSS) saldırısıdır ve MySpace sosyal medya platformunda gerçekleşmiştir. İşte bu olayın detaylı açıklaması

ozanturancakir, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the profile content was not properly sanitised, allowing JavaScript to execute when other users viewed the profile.

Impact

The worm infected over a million users within hours, and the attacker was arrested by the FBI.

What the attacker needed

Victim views an infected profile; victim is logged in to MySpace

How it was found

  1. The attacker placed JavaScript code in a MySpace profile.
  2. When a user visited the infected profile, the code ran automatically.
  3. The code added the same malicious content to the visitor's own profile.
  4. The code also sent friend requests to spread further.
  5. The worm repeated this for each new visitor, spreading rapidly.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A website let users put content on their profile pages, but it did not properly clean up JavaScript code hidden in that content. When other people viewed an infected profile, the hidden code ran in their browser and quietly copied itself onto their own profile, so it spread like a chain letter.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.