~/talk

Secure Authentication and Session Management in Java EE

Talkat Voxxed Days Vienna 2016 · 2016-03-16..03-18· [security, java]
links:none on file
slides:none on file

Java EE does not secure authentication and sessions automatically; live demos exploit session IDs in URLs, network-sniffed cookies and XSS to hijack accounts. Tools shown include TCPdump and Cookie Manager and a tiny servlet that logs stolen cookies; attacks successfully replay sessions and perform CSRF money transfers. Fixes demonstrated are setting tracking mode to cookie, enabling HttpOnly and secure flags, serving static assets separately, and calling changeSessionId (Java EE 7) after login; recommended timeouts: 2–5 minutes for critical apps, 15–30 otherwise.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 1:34Security problems and HTTP sessions
  3. 7:14Demo: Session hijacking via URL
  4. 12:47Demo: Session hijacking via network sniffing
  5. 16:55Securing session IDs during transport
  6. 21:00Demo: Cross-site scripting attack
  7. 26:16Preventing XSS with HTTP-only cookies
  8. 28:30Session fixation and ID rotation
  9. 31:49Enhancing session security with fingerprints
  10. 33:17Java EE authentication methods
  11. 35:08Demo: Cross-site request forgery
  12. 39:54Preventing CSRF with unique tokens
  13. 41:25Escaping dynamic content in JSP
  14. 44:04Conclusion and continuous learning
~/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.