~/talk

Reviewing AngularJS 1.x Applications

Talkat SteelCon 2016 · 2016-07-15..07-17· [angular]
links:none on file
slides:none on file

Covers concrete failures in AngularJS 1.x: universal sandbox escapes (working on 1.5.6, some requiring user interaction), XML sanitizer bugs and Unicode bypasses, a universal CSP bypass pattern using old angular + NG CSP, and ng-bind-html misuse that leads to XSS when data is explicitly trusted. Demos show client-side routing/resolve and sessionStorage-based role escalation, server→client template injection (Jade/EJS → Angular expressions), and tooling used: retireJS, Burp Suite, Bang extension, ScanJS and Jax.

AI-written summary · about

  1. 0:00Whoami
  2. 1:16What is AngularJS?
  3. 3:17Angular Module
  4. 4:19Controller
  5. 4:52View. Jade Template
  6. 5:25Directives
  7. 6:27An Angular Application Summed up
  8. 8:06Breaking Changes
  9. 11:45Sandbox Escapes-1.0 - 1.1.5
  10. 13:48Working Bypass
  11. 17:34Universal CSP Bypass Explained
  12. 18:40Universal CSP Bypasses
  13. 19:01Sanitizer Bypasses
  14. 21:04Ensure Strict Contextual Escaping (SCE) is Enabled
  15. 28:17Client Side Routes Authorization
  16. 29:25Do Not Rely on AngularJS Security Controls
  17. 32:45Prevent Cross-Site Scripting via Template Injection
  18. 34:28Combined Template Injection Code
  19. 37:46Where to look
  20. 40:21Tools
  21. 41:27Burp Suite
  22. 41:52Batarang
  23. 44:34Additional Reading
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.