~/talk

The Code Behind The Vulnerability

Talkat NDC Sydney 2018 · 2018-09-17..09-21· [security]
slides:none on file

Covers real, fixed ASP.NET bugs with concrete root causes and fixes: a hash-collision DoS caused by predictable GetHashCode values (fixed by randomized seeding), a padding oracle leak that lets attackers recover web.config and forge auth cookies (fix: authenticated encryption), several BinaryFormatter RCE cases (Exchange, Docker, ViewState misuse) plus regex backtracking DoS, XSS from HTML.Raw/over‑binding, CSRF via GETs, host‑header password‑reset hijack, and culture/string‑compare pitfalls; recommends sign‑then‑decrypt, avoid BinaryFormatter, set regex timeouts, validate host headers and never trust database or user input.

AI-written summary · about

  1. 0:00Start
  2. 4:28Hash Dos (CVE-2011-3141) A Denial of Service caused by parsing FORM inputs Caused by Hash Table and Dictionary using a predictable hash algorithm for string keys Fored by switching hash functions to one that is unpredictable or limiting dictionary size
  3. 10:20How can I fix this? Don't use user input as keys in dictionaries unless The user input is a string OR The HashCode for the input is strong and you implement a session key eg. SHAIHMAC with a random key set at runtime.
  4. 44:26Nation state attack WSDL is metadata for SOAP endpoints. Used to generate proxy objects Did you know NET Framework has a WSDL parser which generates code?
  5. 46:53Mistrusting user input (CVE-2018-0787) UrlHelper contains a of methods for generating URLS Including absolute URLS With hosts The host comes from the Host Header Which is browser controlled ...
~/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.