~/talk

Go Auth Urself

Talkat Barcelona Ruby Conference 2014 · 2014-09-11..09-13· [security, ruby]
slides:none on file

Rails session format is dissected: keys are derived via PBKDF2-like key stretching and Rails uses ActiveSupport message verifier/encryptor to sign and optionally encrypt cookie blobs. A Marshal deserialization exploit lets an attacker with the secret token craft a cookie that executes arbitrary Ruby (dropped the DB in the demo). Practical fixes shown: switch to JSON/hybrid serializer migration to avoid Ruby objects, rotate secrets, and a Go library reproduces Rails signing so a Go service can create and verify compatible sessions.

AI-written summary · about

  1. 0:00Start
  2. 2:14Alice
  3. 4:49Conchita
  4. 15:38Wendy
~/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.