
Cyber Warfare Escalates in Israel-Hamas Conflict: A Comprehensive Overview
11월 20, 2023
[Media] XSS Attacks Across SNS: A Historical Analysis
11월 20, 2023[Media] XSS Attacks Across SNS: A Historical Analysis

Summary
1. The MySpace (2005)

Overview
Causes and Mechanisms
● Circumventing Tag Restrictions

● Enabling JavaScript Execution
● Altering User Profiles
● Web Interactions
● Proliferation Mechanism

Attackers and Objectives
Addressing and Resolving the Issue
Once the worm was identified, MySpace swiftly responded by temporarily disabling the platform to prevent further propagation of the worm. Although exact measures taken by MySpace to tackle the situation are not abundantly clear, it’s acknowledged that the platform bolstered its security to patch the vulnerability which had enabled the worm to spread. Concurrently, it was observed that “embed” elements were removed from user profiles, ceasing the autoplay of music and movies, suggesting this as a step toward thwarting similar threats in the future.
Following the Samy worm incident, the digital security industry delveed deeper and strategized for coping with the threats of XSS attacks. Notably, the Open Web Application Security Project (OWASP) launched the Anti-Samy initiative aimed at ensuring that user-generated HTML/CSS adheres to the application’s predefined guidelines, aiming to prevent similar attacks proactively. Though not directly tied to MySpace’s resolution of the Samy worm debacle, this initiative is not directly related to how MySpace addressed the Samy worm incident, it serves as an example of the extensive efforts within the technology community to address vulnerabilities exposed by such incidents.
2. Facebook (2011)

Overview
Causes


Attackers and Objectives
Solution
In 2011, Facebook experienced an XSS attack due to a flaw in the search function of their Translations tool. This tool enabled users to search for phrases within translations. When a search yielded no results, a message was displayed, incorporating unsanitized user input from the search query. This flaw opened the door for a straightforward reflected XSS attack.
To counter such threats, it’s vital to cleanse user inputs before displaying them on a webpage. This involves converting specific characters integral to HTML syntax (e.g., <, >, &) into their corresponding HTML entities. This action prevents browsers from misinterpreting them as part of the HTML content, effectively thwarting XSS attacks. Implementing security measures like the Content Security Policy (CSP) can provide additional protection against XSS attacks by defining where and what type of resources can be loaded and executed. Regular updates and consistent testing of all website components are also essential, especially since less frequently accessed sections might be more vulnerable to threats.
In conclusion, Facebook’s siwft response and remediation of this vulnerability upon discovery are commendable¹. This incident emphasizes the significance of transparent communication and collaboration between security experts and businesses.

3. TweetDeck (2014)

Overview
Causes

Attackers and objectives
Solution
4. Email Security and XSS Attacks
Consequences of Email-based XSS Attacks
● Session Hijacking
● Data Theft
● Spreading Malware
Protecting Against Email-based XSS Attacks
● Sanitize Input
● Content Security Policy (CSP)
● User Education
● Regular Updates
References
The MySpace
Technical explanation of the MySpace Worm
https://web.archive.org/web/20160305044015/http://samy.pl/popular/tech.html
Computerworld – Samy worm creator hopes to be online again
https://www.computerworld.com/article/2539863/samy-worm-creator-hopes-to-be-online-again.html#:~:text=Samy%27s%20worm%20wasn%27t%20malicious%2C%20but,on%20their
iPhone… app XSS in Facebook Mail
https://hackerone.com/reports/390344
Facebook vulnerable to critical XSS, could lead to malware attacks
https://www.zdnet.com/article/facebook-vulnerable-to-critical-xss-could-lead-to-malware-attacks/#:~:text=Show%20Comments%20Facebook%2C%20the%20second,the%20injection%20and%20execution%20of
XSS Attack: 3 Real Life Attacks and Code Examples
https://brightsec.com/blog/xss-attack/
The Hacker News – XSS Vulnerability in Facebook Translations
https://thehackernews.com/2011/03/xss-vulnerability-in-facebook.html
Tweetdeck
What is XSS, The Vulnerability That Took Down TweekDeck?
https://readwrite.com/xss-explained-tweetdeck-vulnerability/
TweetDeck Temporarily Shit Down Over XSS Bug
https://www.pcmag.com/news/tweetdeck-temporarily-shut-down-over-xss-bug#:~:text=The%20attack%20redirected%20users%20to,in%20May%202011%20for
Twitter Fixes TweetDeck XSS Security Vulnerability
https://www.securityweek.com/twitter-fixes-tweetdeck-xss-security-vulnerability/#:~:text=%E2%80%9COne%20of%20the%20most%20common,site%20scripting%20issue