Exploiting CSP in WebKit to Break Authentication and Authorization
summary
A WebKit CSP bug causes the securitypolicyviolation event to leak the final redirect URL (including OAuth codes and tokens), letting an attacker capture authorization codes or access tokens from cross‑origin SSO redirects on iOS browsers that must use WebKit. Exploit uses a crafted CSP, an event listener on report‑evaluation, and a simple playground + exploit code to fetch redirected responses; demos successfully recover Facebook/Instagram tokens. ITP requires a click workaround (window.open + interaction). Researchers claimed six‑figure bounties paid and Apple takes 457 days to patch.
AI-written summary · about
chapters (11)
- 0:00Introduction and speakers
- 1:25Vulnerability overview
- 2:29SSO and CSP basics
- 8:13Root cause of the bug
- 13:47Exploit demonstration
- 16:12Impact and affected platforms
- 18:16Roadblocks and misunderstandings
- 21:26Bug bounty responses
- 22:50Mitigation strategies
- 25:17Bypasses and additional findings
- 27:02Conclusion and Q&A
