~/talk

"filename" in Content-Disposition is a landmine - vulnerability caused by ambiguous requiremen

Talkat CODE BLUE 2023 · 2023-11-08..11-09· [security]
links:none on file
slides:none on file

Scans of multipart Content-Disposition handling across browsers, HTTP clients, frameworks and mail libraries uncover concrete flaws: about 80 targets tested, roughly 20 distinct vulnerabilities (RFD/reflected file download, CRLF header injection, multipart key overwrite) with exploitable cases in a browser and several clients/frameworks. Demonstrations include crafted filenames that overwrite other form fields, inject headers or produce malicious downloaded files (Firefox misclassifies a fuzzed filename), and long vendor delays in fixes. Defense: URL‑encode or otherwise escape CRLF, double-quote, NULL byte.

AI-written summary · about

  1. 0:00Content-Disposition landmines
  2. 1:12RFC filename escaping ambiguity
  3. 2:21Characters to escape
  4. 3:46Content-Disposition in multipart
  5. 6:36Breaking Spring parser
  6. 10:11Exploiting Spring uploader
  7. 13:06Filename control attacks
  8. 17:29Reporting to Spring/Firefox
  9. 19:17Official escaping rules
  10. 23:16Research scope and causes
  11. 25:08CRLF and quote impacts
  12. 28:14HTTP parser vulnerabilities
  13. 29:20RCE via RFD in responses
  14. 31:12Email library flaws
  15. 32:39Web framework flaws
  16. 35:59Findings and risks
  17. 36:42Escape CRLF and quotes
  18. 37:26Q&A
~/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.