Fun with XXE
summary
XML External Entity (XXE) attacks are shown to leak files, force outbound requests (SSRF/callback), and cause DoS via billion laughs and quadratic blowup; real incidents include a Drupal/OpenID vector used to hijack Facebook accounts, a DOCX CV upload that triggers XXE via DOCX CV upload callbacks, and a Google toolbar XML button that returned file contents (bounties $33k and $100k). Mitigations are concrete: disable entity expansion, set parser entity limits, or replace the XML resolver (examples: XmlReader/XmlReaderSettings on .NET). Automated scanning is limited; manual payload crafting or helper frameworks are required.
AI-written summary · about
chapters (15)
- 0:00Intro
- 1:06Why XXE / early stages
- 1:37Exceptions ...
- 2:07XML External Entity (XXE)
- 3:09So, what is XXE attack
- 4:18What is the risk
- 6:32Attack scenarios
- 8:14More than simple Dos
- 9:24XXE Attack evolution
- 12:18XXE experiences
- 12:38Looking for gold
- 13:11Finding Gold
- 13:40Mitigation
- 15:59Out of the box
- 18:46Recommended reading & references
