~/talk

JS Security - A Pentesters Perspective

Talkat JSConf.Asia 2015 · 2015-11-19..11-20· [security]
slides:none on file

Shows that DOM XSS is exploitable in realistic settings: a reflected filename on an admin-upload path becomes a weapon when the attacker encodes payload as base64, decodes with atob and executes via an eval workaround, which successfully steals a Rails CSRF token. Demonstrates browser takeover with BeEF, automated discovery of sources and sinks with the Chrome extension hookes, a templating-engine bypass via string-replace/mutation causing an onerror execution, and a window.opener = null mitigation.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49Agenda
  3. 2:34What is DOM excesses
  4. 3:10Why I like DOM excesses
  5. 3:36A simple DOM manipulation
  6. 4:24Source and Sink
  7. 5:38Sources and Sink
  8. 6:35Adamek Sucess
  9. 7:00Low Priority Issues
  10. 7:54Exploit Demo
  11. 10:46Solution
  12. 11:26Exploit
  13. 12:26Templating Engines
  14. 18:12Tab Nabbing
  15. 20:33Window Dot Name
  16. 26:12How do you automate
  17. 27:19Chrome extension
  18. 28:05How it works
  19. 30:51DomCobra
  20. 32:24Insecure Blog
~/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.