~/talk

Code Review For Security

Talkat SunshinePHP 2014 · 2014-02-06..02-08· [security, testing]
slides:none on file

Workshop walks through real PHP apps and shows exact failures not theory: template engines misused (example twig autoescape false leads to XSS; smarty is insecure by default unless explicit escaping), php views that extract raw POST to output, an authentication flow with weak session signature, inconsistent sanitize helpers and a timing-leak from multiquery checks, arbitrary file read via unsanitized filename, and a Cake utility that returns true from validateAuthKey plus a custom cipher using srand and a fixed IV in CBC making encryption effectively worthless.

AI-written summary · about

  1. 0:00Intro
  2. 0:55Create New View
  3. 1:15Direct Path
  4. 1:30Twig View
  5. 2:00Template View
  6. 2:30Raw Data
  7. 3:00IP Address
  8. 3:30Generic Catch Handler
  9. 4:00No Magic
  10. 4:30Smarty
  11. 6:30Output
  12. 7:00PHPView
  13. 7:30Data
  14. 8:30Templates
  15. 9:00Intuition
  16. 11:00Encryption
  17. 12:00Secure Login
  18. 13:30Check Style
  19. 14:00AutoFixer
  20. 14:30Deny
  21. 15:00sanitized
  22. 15:30sanitize
  23. 16:30signature
  24. 17:00timing attack
  25. 18:30invalid username
  26. 19:00avoid the subtlety
  27. 19:30why bother
  28. 20:00not good
  29. 20:30blog post
  30. 24:30Crosssite scripting
  31. 25:00Leaks
  32. 25:30Ugly
  33. 27:00Upload
  34. 28:00Token File
  35. 29:00Get Reference
  36. 30:30Practice
  37. 34:00Hash Function
  38. 35:30Cipher Function
  39. 41:30Questions
  40. 43:00WASP
  41. 43:30Top 10 vulnerabilities
  42. 45:00Crosssite scripting vulnerabilities
  43. 45:30Prevention Cheat Sheet
  44. 46:30Essential PHP Security
  45. 49:00Automated Security Tools
  46. 51:30Audit
  47. 52:00Question of the Day
  48. 54:30Rails
  49. 55:00Magic
  50. 56:00WordPress
  51. 58:30Apple
  52. 59:30Git Repository
~/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.