Exploiting web messaging implementations
summary
Explains concrete failures in postMessage implementations, shows an open‑source Chrome extension called pasta that enumerates windows listeners, captures incoming/outgoing messages and simulates exploits, and demonstrates real exploits that read and write local storage, perform CSRF, and steal cookies from major sites including a payment provider and an AliExpress sidebar which devolves into XSS. Shows attacker flows for spoofing, wildcard targetOrigin misuse, origin‑check bypasses, and working proof‑of‑concepts that extract tokens and session data.
AI-written summary · about
chapters (7)
- 0:00Start
- 1:40What is Cross Document Mestaging Cross Document Messaging is the ability of two windows to send and receive messages
- 6:32What is Cross Document Messaging Cross Document Messaging is the ability of two windows to send and receive messages
- 8:09Cross document messaging security model
- 14:28Potential Weaknesses
- 16:57Weaknesses - Sender code
- 28:47Attack flow - Sender
related talks
43mAttacking Modern Web Technologies
42mModern web application bugs
23mJavaScript attack surface
34mJS Security - A Pentesters Perspective
44mWhen you can't afford 0days: Client-side exploitation for the masses
34m"The magic of XSS - not only in web applications"
33mHacking The Front-End
28mOffensive and Defensive Strategies for Client-Side JS Security
