~/talk

XXE - what is it and why is it important

Talkat LinuxConf [ZA] 2019 · on Monday, 2019-10-07· [security]
links:none on file
slides:none on file

Demo shows a weak XML parser allowing a crafted DTD to read /etc/passwd and private SSH key, then use that key to SSH and escalate to root if accounts share keys; a tiny XML payload launches the billion laughs DoS (~10^9 expansion) that exhausts CPU/memory; another payload exfiltrates files via HTTP callback to an attacker-controlled server and reveals stack traces and server software. Fixes: disable DTDs or entity expansion (proper parsers return "doctype is disallowed" and 400).

AI-written summary · about

  1. 0:00Intro
  2. 1:33Overview
  3. 2:07Definition
  4. 3:19XML External Entity
  5. 4:37XML Predefined Entity
  6. 5:03Internal Entity
  7. 5:28External Entity
  8. 6:04General Entity
  9. 6:33Parametrized Entity
  10. 7:05How does it work
  11. 11:39How to avoid vulnerabilities
  12. 30:57Questions
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.