“Bug Bounty Bootcamp #40: XXE — Reading Server Files and Pivoting to Internal Networks Through XML”
That innocent XML import feature could be a direct line to your /etc/passwd and internal cloud metad 2026-5-28 12:15:44 Author: infosecwriteups.com(查看原文) 阅读量:19 收藏

That innocent XML import feature could be a direct line to your /etc/passwd and internal cloud metadata. Learn to spot XML parsing vulnerabilities and weaponize external entities for file disclosure and SSRF.

Aman Sharma

Friend link

Press enter or click to view image in full size

Welcome back. You’ve mastered SSRF and chaining. Now we turn to a vulnerability that often flies under the radar: XML External Entity (XXE) injection. When an application parses user‑supplied XML without disabling external entities, an attacker can read local files, perform SSRF, and in some cases achieve remote code execution. Even when the response is blind — no data reflected — you can exfiltrate files via an external DTD and a remote server. This lesson covers the full XXE arsenal: from basic file read to blind exfiltration using base64 encoding.

What Is XXE? The XML Parser’s Fatal Feature

XML, like HTML, supports entities — placeholders that get replaced with content. An external entity pulls data from a file, URL, or other resource using a SYSTEM identifier. If the parser resolves it without restrictions, an…


文章来源: https://infosecwriteups.com/bug-bounty-bootcamp-40-xxe-reading-server-files-and-pivoting-to-internal-networks-through-xml-17708cf6029b?source=rss----7b722bfd1b8d--bug_bounty
如有侵权请联系:admin#unsafe.sh