Which attack does this XML payload attempt?
<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///etc/passwd">]> <user>&xxe;</user>
- LDAP injection
- Server-side template injection
- XML external entity (XXE)
- Stored cross-site scripting
A parser that resolves external entities will inline the local file; disabling DTDs or external entities fixes it.
Play Cybersecurity ▸