AGENT SKILL

xxe

Hunt XML External Entity flaws in parsers and validate file read / SSRF impact with strict negative controls.

License 许可
Apache-2.0
所属仓库
Akapi895/raptix
最近更新
2026-11-06
Stars
★ 0
Forks
0

01 前言 Front Matter

name
xxe
metadata
{ "subdomain": "web-exploitation", "when_to_use": "xxe xml external entity parser file read ssrf cwe-611 dtd parameter entity blind oob", "mitre_attack": "T1190, T1005" }
description
Hunt XML External Entity flaws in parsers and validate file read / SSRF impact with strict negative controls.

03 SKILL.md 正文

XXE Playbook

Find parser sinks

  • Java: DocumentBuilderFactory, SAXParserFactory, XMLInputFactory
  • Python: lxml.etree, xml.dom.minidom, xml.sax
  • .NET: XmlDocument, XDocument, XmlReader

Dangerous defaults

  • DTD enabled
  • External entities enabled
  • Network/file entity resolution enabled

Payloads

  • File read: entity to file:///etc/passwd
  • SSRF: entity to internal URL (metadata service, localhost admin)

Validation

  • Positive: parser output contains file content or internal response markers.
  • Negative: same XML without entity expansion must not leak content.

04 同仓库更多 Skills