~/talk

How to detect CSRF vulnerability, reliably?

Talkat AppSec USA 2017 · 2017-09-19..09-22· [security, web-platform]
links:none on file
slides:none on file

Scans with Arachne, ZAP and a commercial scanner repeatedly detect reflected XSS but fail CSRF: Arachne gives false negatives, ZAP gives false positives, the commercial product behaves similarly. A 50–100 line test harness using a headless browser (HtmlUnit) programmatically checks for no token present, empty token value, and missing server‑side validation, requiring two inputs: the exact CSRF field name and the exact error response. The checker runs in CI and reports the specific failure mode.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Project context and goals
  3. 4:46Test application overview
  4. 9:03Scanner performance analysis
  5. 13:51The challenge of CSRF tokens
  6. 18:52Requirement for agreement
  7. 24:02Server-side validation issues
  8. 29:42Custom testing code demo
  9. 37:10Advantages and conclusion
~/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.