Vulnerabilidades / CVE-2026-77367
CVE-2026-77367
Daptin: Unauthenticated SQL Injection via the `sort` query parameter on every entity list endpoint
Resumo em linguagem simples Automático
Vulnerabilidade de severidade crítica (CVSS 9.4 v3.1, atribuído por security-advisories@github.com) que afeta github.com/daptin/daptin. Probabilidade estimada de exploração em 30 dias (EPSS): 2.3% (percentil 84). Classe de fraqueza: CWE-20, CWE-89.
Recomendações
- Correção: Aplique a correção ou a versão indicada no aviso oficial do fabricante.
- Prevenção: Reduza a exposição do serviço afetado à internet e monitore registros de acesso suspeitos.
Ferramentas públicas conhecidas
Indica que já existe código público ligado a esta CVE — aumenta a chance de ataques automatizados e também permite testar a exposição do seu ambiente (com autorização).
- Template de detecção Nuclei — ver no GitHub (MIT)
Descrição oficial Oficial
Daptin is a GraphQL/JSON-API headless CMS. Prior to 0.12.30, the generic GET /api/{entity} list endpoint accepts attacker-controlled sort values in PaginatedFindAllWithoutFilters in server/resource/resource_findallpaginated.go without validating the requested column against the table schema. The code uses those values for SELECT and ORDER BY identifier construction, so an embedded identifier quote can terminate the quoted identifier and make the remainder parse as SQL, allowing an unauthenticated attacker to extract unauthorized table data through blind or error-based behavior or repeatedly trigger query failures. This issue is fixed in version 0.12.30.
Sistemas e versões afetados
- go github.com/daptin/daptin vulnerável: <= 0.12.29 · corrigido em 0.12.30
Pontuações CVSS
- v3.1 — 9.4 (security-advisories@github.com)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H - v3.1 — 9.4 (GitHub (GHSA))
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:H