~/talk

XSS, CSRF, CSP, JWT, Wtf? Idk ¯\_(ツ)_/¯

TalkinJapaneseat JSHeroes 2018 · on Wednesday, 2018-04-11· [security]
slides:none on file

Demonstrates concrete web security attacks and mitigations: a JWT "none" algorithm exploit that converts a user cookie to admin (fixed by using HttpOnly cookies and whitelisting algorithms); a CSRF reproduction via a cross-site form post mitigated with a CSRF token sent in a cookie and header; and a marked-markdown XSS bypass using encoded-colon tricks that requires patching the library. Also shows a JSONP callback attack that can install a malicious service worker, and how a Content Security Policy (report-only then enforcing), combined with dependency updates, can block many of these issues.

AI-written summary · about

  1. 0:00Intro
  2. 1:00Who am I
  3. 2:35HTTPS
  4. 8:51Social Networks
  5. 9:45Cross-Site Request Forgery
  6. 10:56Targetblank links
  7. 14:24Myspace worm
  8. 17:23XSS
  9. 19:49Bottom Line
  10. 24:43CSP
~/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.