# Course 38 - Web Security Known Web Attacks | Episode 2: RCE Filter Bypassing and JSON Hijacking Page: https://stenobird.com/podcast/cybercode-academy-7578615/course-38-web-security-known-web-attacks-episode-2-rce-filter-bypassing-and-json-hijacking Text version: https://stenobird.com/podcast/cybercode-academy-7578615/course-38-web-security-known-web-attacks-episode-2-rce-filter-bypassing-and-json-hijacking.md Podcast: [CyberCode Academy](https://stenobird.com/podcast/cybercode-academy-7578615) Published: 2026-07-03T06:00:03+00:00 Episode link: https://www.spreaker.com/episode/course-38-web-security-known-web-attacks-episode-2-rce-filter-bypassing-and-json-hijacking--72711319 Audio file: https://dts.podtrac.com/redirect.mp3/api.spreaker.com/download/episode/72711319/bypassing_filters_and_hijacking_json_data.mp3 Processing state: not_requested JSON: https://stenobird.com/v1/public/podcasts/cybercode-academy-7578615/episodes/course-38-web-security-known-web-attacks-episode-2-rce-filter-bypassing-and-json-hijacking Duration seconds: 1417 ## Resource In this lesson, you’ll learn about: bypassing weak RCE filters and understanding JSON hijacking (legacy browser vulnerability)1. Why RCE Filters Fail🔹 Common mistake: Developers block specific characters (like ;) 🔹 Problem: Attack surface is much larger than one delimiter 👉 Key Insight Blacklisting single characters is not real security2. Alternative Command Operators🔹 Even if ; is blocked, others exist: && → execute if first succeeds || → execute if first fails | → pipe output & → background execution 👉 Key Insight There are multiple ways to chain commands, not just one3. Encoding to Bypass Filters🔹 Web applications often filter raw characters🔹 Bypass technique: Use URL encoding 🔹 Example: && → %26%26 👉 Key Insight Filters that don’t normalize input can be bypassed easily4. Logic-Based Exploitation🔹 Operator behavior matters: && → requires success || → requires failure 🔹 Attacker strategy: Force first command to fail → trigger second 👉 Key Insight Exploitation is about logic control, not just syntax5. Core Defense Principle🔹 Problem: Input filtering ≠ protection 🔹 Real solution: Never pass user input to system commands 👉 Key Insight Eliminate the sink, not just sanitize input6. What is JSON Hijacking🔹 Definition: A client-side data theft attack exploiting browser behavior 🔹 Related concept: Similar to Cross-Site Request Forgery (CSRF) 👉 Key Insight It abuses authenticated requests + weak browser protections7. How JSON Hijacking Works (Conceptually)🔹 Key idea: 🔹 Attack flow: Victim is logged in Attacker loads sensitive API via Browser sends cookies automatically Data is exposed to attacker-controlled logic 👉 Key Insight Same-Origin Policy historically did not fully protect script loading8. The Role of JavaScript InternalsUsing JavaScript:🔹 T… ## Actions - request_transcript: `POST https://stenobird.com/v1/public/podcasts/cybercode-academy-7578615/episodes/course-38-web-security-known-web-attacks-episode-2-rce-filter-bypassing-and-json-hijacking/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-2-rce-filter-bypassing-and-json-hijacking.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.