XXE
XML External Entity
Last updated
XML External Entity
Last updated
XXE vulnerabilities arise when an XML
document contains a reference to an external entity, which the parser resolves.
If you can create or submit a XML
file, try to find the endpoint where is being submitted and check if is being parsed (for example a filling form will have the content of the file already filled on the form):
Create a malicious XML ENTITY
and added at the top of the XML
to read /etc/passwd
, make sure you add the parser (&file
):