Web App - XXE
Last updated
Was this helpful?
Last updated
Was this helpful?
➡️ XML External Entity (XXE) injection is a security vulnerability that occurs when an application processes XML input containing references to external entities without proper validation.
Upload xxe-safe.xml
and check the result.
Try xxe-exploit.xml
XML Declaration & DOCTYPE: Declares an XML document and defines an external entity
Entity Definition: The external entity xxe
is set to read the file /etc/passwd
Usage in XML: The entity is referenced in the <user>
tag
Result: If vulnerable, the XML parser includes the file content in the output