XXE - what is it and why is it important
summary
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
