Pular para o conteúdo
Novo

DeepSeek V4.1 Flash grátis por 7 dias: 10M tokens por dia após recarga de $10 ou mais. Até 30/11.

Como funciona
noorqureshi/web-xxeWeb e bug bounty

web-xxe

⁨XML External Entity injection → file read, SSRF, sometimes RCE. Load when the app parses XML you supply: SOAP, SAML, XML APIs, SVG/DOCX/XLSX upload, RSS import, `Content-Type: application/xml`. Signals: XML request bodies, "<?xml", SAML responses, file parsers.⁩

v2026.10.14-ee0e0c53 instalações+3 em 7 dias27 EstrelasMITsincronizado há 22 horas

Instalar

Ainda não tem a CLI da NotHoly? Instale primeiro.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/web-xxe

Grava em ⁦~/.notholy/skills⁩ depois de conferir a assinatura e o SHA-256.

AssinaturaAssinado, ed25519
IT0pIAnQBZ…zpU6uYBg==A CLI confere o SHA-256 e a assinatura antes de gravar qualquer arquivo.
Pacote32f097f1…91484822
32f097f16219…abae914848223 arquivos · ⁦3.6 KB⁩
VarreduraMédio2 achados
  • Link para um IP diretocheatsheet.md:46
  • Links para domínios externos
Ver a varredura completa
Fontegithub.com/NoorQureshi/security-skills/tree/main/skills/web/web-xxe@ee0e0c5

Este item ainda não foi escrito no seu idioma, então aparece em English.

When it applies

The server parses attacker-supplied XML with external entities enabled. Any XML sink counts — SOAP, SAML, REST-with-XML, and file formats that are XML underneath (SVG, DOCX, XLSX).

Why it works

XML DTDs can declare entities that the parser resolves — including SYSTEM entities that read local files or fetch URLs. If the parser doesn't disable external entities (the insecure default in many libs), your entity is expanded server-side.

Method

Payloads & full variation set: cheatsheet.md next to this file — work the set, not the first line.

  1. Detect: inject a DOCTYPE with an external entity and reference it: <!DOCTYPE r [<!ENTITY x SYSTEM "file:///etc/passwd">]> then <r>&x;</r> — file contents in the response = in-band XXE.
  2. Blind / OOB: no reflection → use an external DTD on your server that exfils via a parameter entity to your Collaborator (file:/// → your URL). DNS/HTTP hit confirms.
  3. SSRF via XXE: point the entity at internal URLs / 169.254.169.254 (→ cloud-imds-ssrf).
  4. File formats: unzip a DOCX/XLSX, inject XXE into an inner XML part, rezip, upload; SVG upload → XXE.
  5. Error-based: force a parse error that echoes file content in the message when output is suppressed.

Gotchas

  • Modern parsers disable external entities by default — a null result may mean patched, not absent; try OOB + error-based.
  • php://filter base64 wrapper reads files that break XML (binary/<).
  • SAML XXE is high-impact but often behind signature checks — test the pre-validation parse.

Verify success

Local file contents returned/exfiltrated, or an OOB callback proving the parser fetched your URL.

References

PortSwigger XXE labs; OWASP XXE Prevention Cheat Sheet.

Arquivos desta versão

Permissões

PermissãoDeclaradaEncontrada na varredura
Lê arquivosNãoNão
Grava arquivosNãoNão
Roda comandos no shellNãoNão
Usa a redeSimSim
Usa conectoresNãoNão
Controla um navegadorNãoNão

Achados da varredura

Revisado em 13 de nov. de 2026

  1. MédiaLink · Link para um IP diretocheatsheet.md:46
  2. InfoLink · Links para domínios externos

Uma varredura limpa reduz o risco, mas não prova que o pacote é seguro. Leia o que você instala.

VersãoPublicada emCommitSHA-256AssinaturaMudança de permissão
v2026.10.14-ee0e0c513 de nov. de 2026ee0e0c532f097f1Assinada–

Pergunte tudo o que o seu escopo permite.

Crie a conta, adicione créditos e faça a primeira pergunta no chat ou no terminal.

  1. 1/3

    Crie a conta

    Individual ou empresa. Dá para virar empresa depois sem perder saldo nem chaves.

    Pessoa físicaEmpresa
  2. 2/3

    Adicione créditos

    No cartão. Você paga por token, sem assinatura.

    $5.00recarga mínima
  3. 3/3

    Pergunte

    No chat, ou instale o CLI e rode notholy login no terminal.

    $ notholy login