~/talk

A Successful Mess Between Hardening And Mitigation

Talkat HITBSecConf 2019 Amsterdam · 2019-05-06..05-10· [web-platform, security]
links:none on file
name:Spagnuolo
links:none on file
slides:none on file

Google reports deploying nonce-based CSP across ~62% of outgoing traffic and shows CSP mitigated ~60% of externally reported XSS in one year; on 11 very sensitive incidents 9 ran behind CSP and 7 were actually blocked. Recommendations: avoid origin whitelists, use strict-dynamic plus nonces or hashes, drop unsafe-eval when possible, and combine nonce policies with a whitelist header for defense-in-depth. Violation reports with report-sample enable detection of real exploitation attempts.

AI-written summary · about

  1. 0:00Introduction to CSP
  2. 1:54Why XSS remains a threat
  3. 5:03Mitigation vs hardening in CSP
  4. 8:40CSP adoption at Google
  5. 13:48Why whitelist CSP fails
  6. 16:42Nonce-based CSP explained
  7. 20:24CSP levels and trade-offs
  8. 27:15Strict dynamic and refactoring
  9. 32:18Advanced CSP techniques
  10. 36:34Level 5 double policy
  11. 41:04CSP for post-XSS attacks
  12. 42:08CSP violation reporting
  13. 44:37Backward compatibility in CSP
  14. 46:45Effectiveness of CSP against XSS
  15. 47:46Summary and best practices
  16. 55:22Q&A session
~/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.