~/talk

An Abusive Relationship with AngularJS v2

Talkat RuhrSec 2016 · 2016-04-28..04-29· [angular, security]
links:none on file
slides:none on file

Deep dive into AngularJS 1.x vulnerabilities with concrete exploits and timelines: sandbox bypass via Function constructor and prototype/toString tricks (multiple generations of bypasses, one fix taking 120 days), sanitizer SVG use-element and legacy parser bypass (old $sanitize allows SVG; new sanitizer forbids it), CSP bypass using ng-click + Blob + Reflect.construct to escape CSP, and CDN downgrade and repository whitelist bug that turns a reported fix into XSS. Includes PoCs, attack counts and practical mitigation tradeoffs.

AI-written summary · about

  1. 0:00Intro
  2. 1:29What is AngularJS?
  3. 4:40Relationship Reasons
  4. 5:20The Honey Boo Boo of MVC?
  5. 8:44The AngularJS Sandbox
  6. 9:44First Bypasses
  7. 11:20More Bypasses
  8. 15:31Extreme Bypasses
  9. 19:14A1: User Interaction
  10. 19:52The Sanitizer
  11. 20:21The Old Sanitizer
  12. 21:50The New Sanitizer
  13. 24:36Attacking the CSP Mode
  14. 25:07Early CSP Bypasses
  15. 29:52Universal CSP Bypass
  16. 33:22Attacking the Code-Base
  17. 34:04The Con-Setup
  18. 34:34The Bug
  19. 36:16The Execution
  20. 36:56The Bypass
  21. 38:35A4: The Aftermath
  22. 39:48A Quick Conclusion
  23. 41:38The End
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.