~/talk

The Past, Present, and Future of Cross-Site/Cross-Origin Request Forgery

Talkat NDC Security 2024 · 2024-01-09..01-10· [security, web-platform]
slides:none on file

CSRF remains real for cookie-based auth: demos show hidden-form and fetch attacks creating reviews against a legacy app and an API, and real incidents include OkCupid and Grafana. Modern defenses work but differ: SameSite cookies stop classical CSRF reliably; APIs must enforce Content-Type and either use synchronizer tokens or force a preflight by requiring a static custom header (an X-CSRF header) so the browser triggers CORS preflight. Subdomain takeover enables cross-origin forgery, so add BFFs, tests for content-type, and DNS hygiene.

AI-written summary · about

  1. 0:00Introduction to Cross-Site Request Forgery
  2. 10:18Traditional CSRF attacks
  3. 21:14CSRF in API risks
  4. 29:23CORF explained
  5. 35:23Defending APIs with CORS
  6. 48:22CSRF protection summary
~/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.