# Course 38 - Web Security Known Web Attacks | Episode 5: SOP Fundamentals and SOME Attack Exploitation via Flash Callbacks Page: https://stenobird.com/podcast/cybercode-academy-7578615/course-38-web-security-known-web-attacks-episode-5-sop-fundamentals-and-some-attack-exploitation-via-flash-callbacks Text version: https://stenobird.com/podcast/cybercode-academy-7578615/course-38-web-security-known-web-attacks-episode-5-sop-fundamentals-and-some-attack-exploitation-via-flash-callbacks.md Podcast: [CyberCode Academy](https://stenobird.com/podcast/cybercode-academy-7578615) Published: 2026-07-06T06:00:02+00:00 Episode link: https://www.spreaker.com/episode/course-38-web-security-known-web-attacks-episode-5-sop-fundamentals-and-some-attack-exploitation-via-flash-callbacks--72711737 Audio file: https://dts.podtrac.com/redirect.mp3/api.spreaker.com/download/episode/72711737/how_some_attacks_puppeteer_your_browser.mp3 Processing state: not_requested JSON: https://stenobird.com/v1/public/podcasts/cybercode-academy-7578615/episodes/course-38-web-security-known-web-attacks-episode-5-sop-fundamentals-and-some-attack-exploitation-via-flash-callbacks Duration seconds: 1519 ## Resource In this lesson, you’ll learn about: Same Origin Policy (SOP), its controlled exceptions, and how attackers exploit it using SOME via Flash callbacks1. What is the Same Origin Policy (SOP)🔹 Definition: A core browser security rule that restricts how documents interact 🔹 Enforced in: Web Browsers 🔹 Rule: Two URLs can interact only if all match: Protocol (HTTP / HTTPS) Host (domain) Port 👉 Key Insight SOP prevents unauthorized access between different websites2. Why SOP Exists🔹 Purpose: Protect user data (cookies, sessions, DOM) 🔹 Without SOP: Any site could read or modify another site 👉 Key Insight SOP is the foundation of web security isolation3. Soft Exclusions to SOP🔹 Allowed interactions: embedding postMessage API 🔹 Why they exist: Enable cross-origin communication safely 👉 Key Insight SOP is strict—but not absolute4. Introducing SOME (Same Origin Method Execution)🔹 Definition: A technique to execute methods across windows using references 🔹 Related concept: Reverse clickjacking 👉 Key Insight SOME doesn’t break SOP—it works around it5. Role of Flash in SOME Attacks🔹 Technology involved: Adobe Flash Player 🔹 Bridge: ActionScript ↔ JavaScript 🔹 Key function: ExternalInterface.call() 👉 Key Insight Flash acts as a bridge to execute JS indirectly6. How Flash Callbacks Become Vulnerable🔹 Weakness: Accept user-controlled input 🔹 Restrictions: Often limited to: Letters (a–z, A–Z) Numbers (0–9) Dot (.) 🔹 Still dangerous because: Can call existing JS functions 👉 Key Insight Limited input ≠ safe input7. SOME Attack Lifecycle🔹 Step-by-step: Victim visits attacker page Malicious page opens new tab Uses window.opener reference Parent tab redirected to target site Payload executes via callback 👉 Key Insight Attack uses tab relationships + timing8. DOM Manipulation via SOME🔹 Target:… ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/cybercode-academy-7578615/episodes/course-38-web-security-known-web-attacks-episode-5-sop-fundamentals-and-some-attack-exploitation-via-flash-callbacks/transcription-requests` — Idempotently request low-priority transcript generation for this episode. - read_markdown: `GET https://stenobird.com/podcast/cybercode-academy-7578615/course-38-web-security-known-web-attacks-episode-5-sop-fundamentals-and-some-attack-exploitation-via-flash-callbacks.md` — Read the agent-friendly Markdown representation of this episode resource. A page view does not enqueue transcription. Agents should invoke `request_transcript` explicitly when they need this episode processed. ## Transcript Full transcripts are not published on public pages unless there is a clear rights basis.