~/talk

Cross Site Scripting 101

Talkat BSidesSF 2023 · 2023-04-22..04-23· [security]
links:none on file
slides:none on file

Basic XSS concepts are demonstrated with an actual beginner CTF challenge and a working exploit that reads a server-only flag via client-side JavaScript and exfiltrates it. Steps show escaping out of an attribute, using an image onerror handler to reach JavaScript context, and then an XHR sequence to request the flag and POST it to an attacker-controlled endpoint. Live tools used are web tutorial CTF, RequestBin for capture, CSP Evaluator for policy checks, and a three-step XHR exfiltration payload.

AI-written summary · about

  1. 0:00Start
  2. 2:35Javascript Injection!
  3. 3:44Contexts
  4. 4:35Example
  5. 7:05Reflected XSS
  6. 9:52XSS mitigations
  7. 10:51Web Tutorial 1
  8. 11:31Under the hood
  9. 13:59Payload demo
~/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.