PortSwigger Web Security Academy: when you only control a value inside a server-built XML document, using XInclude instead of a DTD to read /etc/passwd.
Exploiting XInclude to Retrieve Files

whoami
Cybersecurity professional focused on information security, governance, compliance, and data protection, with a Master’s degree in cybersecurity and certifications including CISSP, OSCP, OSWA, and CDPSE. The work I enjoy most is the whole loop: finding the weaknesses, then working with the team to fix them. It’s a purple-team mindset, attacking and defending the same system, and it depends on staying as close to the teams outside security as to the ones inside it.
cat skills.md
ls ~/ # where to next
Start here: new to the blog? Try the Shakabrah machine walkthrough , the SSTI lab series , or my recon tool Cataract .

PortSwigger Web Security Academy: when you only control a value inside a server-built XML document, using XInclude instead of a DTD to read /etc/passwd.

PortSwigger Web Security Academy: blind XXE data exfiltration by hosting a malicious external DTD that reads /etc/hostname and smuggles it out over DNS/HTTP to Burp Collaborator.

PortSwigger Web Security Academy: when regular external entities are blocked, using an XML parameter entity to make the parser call out to Burp Collaborator.

PortSwigger Web Security Academy: blind XXE confirmed out-of-band, pointing an external entity at Burp Collaborator so the XML parser makes a DNS lookup and HTTP request.

PortSwigger Web Security Academy: exfiltrating command output over DNS, embedding whoami in a Burp Collaborator subdomain from the feedback email parameter.