~/talk

Common REST API security pitfalls

Talkat OWASP BeNeLux Day 2017 · 2017-11-24..11-25· [security]
slides:none on file

Checklist style evaluation says whether to watch: the session names specific failures and fixes — missing authorization on ID-based endpoints, client-side sessions trusting tamperable data, common JWT mistakes like using decode instead of verify and signing with shared secrets instead of RSA, transport errors (no HTTPS, missing HSTS), CSRF vs CORS tradeoffs and cookie vs authorization header pitfalls, and concrete examples such as an Angular interceptor that leaks tokens to third parties. Expect about ten actionable pitfalls with code-level examples and mitigation steps.

AI-written summary · about

  1. 0:00Intro
  2. 0:27Demo
  3. 2:23About me
  4. 3:24API
  5. 3:37HTTP
  6. 4:04Guidelines
  7. 4:37HTTPStrict Transport Security
  8. 5:21Warming Up
  9. 5:39Application Layer
  10. 6:40Endpoints
  11. 7:21State Changing Operations
  12. 7:33Missing Authorization
  13. 8:10Session Information
  14. 10:41Clientside Session Data
  15. 10:55JSON Web Token
  16. 12:16Decode Functions
  17. 13:00Token Misuse
  18. 13:28JSON Web Token Rabbit Hole
  19. 18:53Cookies
  20. 21:23Authorization Header
  21. 23:01Attachment to outgoing requests
  22. 24:08Default solutions
  23. 24:35Crosssite request forgery
  24. 28:00Transparent token
  25. 29:45Crossorigin resource sharing
  26. 31:32Custom headers
  27. 32:12Cookies for API
  28. 32:37Input validation
  29. 33:51Input validation best practices
  30. 35:12Over or under estimating input validation
  31. 36:00Build secure stuff
~/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.