~/talk

Going Auth The Rails On A Crazy Train

Talkat Black Hat Europe 2015 · 2015-11-10..11-13· [security, ruby-on-rails]
links:none on file
slides:none on file

Rails apps use has_secure_password (bcrypt) but still leave session choice, expiration and reset flows to developers; cookie sessions serialize/encrypt state while database sessions store random IDs and are easier to revoke. A 2013 MySQL type‑confusion lets an attacker submit a numeric reset token (often 0) to reset the first outstanding token — a Metasploit module exists and the issue is patched in devis but persists in some app code. The team ships Boilerman, a dynamic rails‑console engine that enumerates controllers, actions and filters and finds missing API/token checks (demo exposes user tokens).

AI-written summary · about

  1. 0:00Rails framework overview
  2. 3:41Authentication strategies
  3. 12:20Session management security
  4. 22:58Password reset mechanics
  5. 24:25Devise and common flaws
  6. 37:03Authorization practices
  7. 48:31Automated security auditing
~/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.