~/talk

Death to Cookies

Talkat dotRB 2013 · on Monday, 2013-10-28· [security, web-platform]
github:rkh
slides:none on file

A demo web app called recipe-tastic exposes why cookie-based auth fails: simple guessing, XSS stealing cookies (mitigated by HttpOnly and CSP), CSRF (fixed with anti-CSRF tokens or checking Origin/referrer), and network sniffs like Firesheep on open Wi‑Fi (fixed by SSL). Compression attacks BREACH/CRIME leak tokens unless compression is disabled or tokens are masked. Signed/encrypted cookies don’t stop replay. Practical alternatives shown include rotating cookies, enforcing SSL, and sending a custom Authorization header from clients (used by travis ci).

AI-written summary · about

  1. 0:00Start
  2. 4:15Guessing
  3. 6:49Content Security Policy
  4. 12:32VBScript did not fully implement Same Origin
  5. 13:24cookie tossing
  6. 13:52Can we trust browser plugins?
  7. 15:15encrypting cookies does not help
  8. 18:10turn off SSL compression
  9. 19:36Custom Authorization header
~/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.