~/talk

How to use XXE to your Advantage

Talkat BSidesAugusta 2018 · on Saturday, 2018-10-20· [security, web-platform]
name:Leo Pate
links:none on file
slides:none on file

Demonstrates using an external DTD callback to force a vulnerable XML parser to fetch a remote DTD, read /etc/passwd, and send it to an attacker-controlled port; a Python tool Doulos (Python3) generates the XML payload and DTD and the demo achieves retrieval via a netcat listener with a base64 chunk that is decoded to reveal the passwd file. Covers mitigations: disable external entities, validate XML against a strict schema, and patch XML parsers.

AI-written summary · about

  1. 0:00Introduction
  2. 3:38Roadmap
  3. 4:11Key takeaways
  4. 5:15What is XXE
  5. 6:02What does XXE mean
  6. 6:49Remote code execution
  7. 7:49Overview of XML
  8. 9:31What uses XML
  9. 10:04Wellformed XML
  10. 11:31Wellformed Example
  11. 12:18Valid Example
  12. 13:32XXE Attacks
  13. 15:41XXE Error
  14. 15:58Outofband
  15. 16:39Demo
  16. 17:04Parser
  17. 17:36attacker terminal
  18. 18:02how this attack will work
  19. 18:56open to the public
  20. 19:29Python 2 vs Python 3
  21. 20:02Doulos
  22. 20:13Halloween
  23. 20:34Fun fact
  24. 20:54Create XXE payload
  25. 21:47Create DTD file
  26. 23:04Variables
  27. 23:14Instructions
  28. 27:23Base64
  29. 27:36Port Base64
  30. 28:16SuperDuper
  31. 29:03Red Team
  32. 29:18XXE Limitations
  33. 30:02Base64 Limitations
  34. 30:28Detection Prevention
  35. 35:19Red Blue Purple Teams
  36. 35:49XXE is boring
  37. 37:20Penetration testing vs Red teaming
  38. 41:46Blue teaming
  39. 50:16Devils Advocate
  40. 56:13Questions
~/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.