Vnykmshr

#5452de 55,137
50.3CVSS total
Vulnerabilidades · 6
Alta
4
Crítica
2
PT-2026-26485
8.1
2026-03-19
Dagu · Dagu · CVE-2026-33344
**Name of the Vulnerable Software and Affected Versions** dagu versions 2.0.0 through 2.3.0 **Description** Dagu suffers from a path traversal issue due to incomplete fixes for CVE-2026-27598. The initial fix addressed path traversal in the `CreateNewDAG` function, but the `locateDAG` function still allows traversal via `%2F`-encoded slashes. Specifically, the `locateDAG` function does not validate that the requested file path is within the expected directory, leading to arbitrary file read, delete, and potentially remote code execution. The issue arises because the Chi v5 router captures path segments containing encoded slashes, which are then decoded and passed to `locateDAG` without proper validation. This allows attackers to access files outside the intended DAGs directory. The `findDAGFile` function resolves the path using `filepath.Abs` and only checks for the YAML extension, without verifying containment within the base directory. Affected API endpoints include `GET /dags/{fileName}/spec`, `DELETE /dags/{fileName}`, and `POST /dags/{fileName}/start`, as well as other endpoints utilizing the `{fileName}` parameter. An authenticated user, or any user if authentication is disabled, can potentially read or delete arbitrary `.yaml`/`.yml` files on the server's filesystem. The `locateDAG` function is the core component affected. **Recommendations** Versions 2.0.0 through 2.3.0 are vulnerable. Add path containment validation to the `locateDAG` function to prevent access to files outside the intended directory. Reject file names containing path separators for all HTTP-facing callers. If the separator code path is required for internal worker communication, split `locateDAG` into a validated public method for HTTP handlers and an internal method for trusted callers only.
PT-2026-26198
8.1
2026-03-18
Oneuptime · Oneuptime · CVE-2026-33142
**Name of the Vulnerable Software and Affected Versions** OneUptime versions prior to 10.0.34 **Description** OneUptime, a service monitoring solution, contains a SQL injection issue. Specifically, the `toSortStatement`, `toSelectStatement`, and `toGroupByStatement` methods within the `StatementGenerator` component do not validate user-supplied object keys before interpolating them as ClickHouse Identifier parameters. This allows an attacker to inject arbitrary SQL code through crafted `sort`, `select`, or `groupBy` keys in API requests. The issue stems from the lack of validation when constructing SQL queries, as ClickHouse Identifier parameters are substituted directly into queries without escaping. This impacts any analytics list or aggregate endpoint backed by `BaseAnalyticsAPI.getList()` or `BaseAnalyticsAPI.getAggregate()`, including analytics queries for logs, metrics, spans, and exceptions. The vulnerable parameters are found in the request body, specifically `sort`, `select`, and `groupBy`. The vulnerable methods are `toSortStatement()`, `toSelectStatement()`, and `toGroupByStatement()`. **Recommendations** Versions prior to 10.0.34 should be updated to version 10.0.34 or later. Add the same `getTableColumn()` validation already present in `toWhereStatement` to the three unvalidated methods: `toSortStatement`, `toSelectStatement`, and `toGroupByStatement`. Specifically, within each of these methods, iterate over the keys and verify they correspond to actual model columns using `this.model.getTableColumn(key)`.
PT-2026-23793
9.1
2026-03-06
Unknown · Soft Serve · CVE-2026-30832
**Nome do Software Vulnerável e Versões Afetadas** Versões do Soft Serve de 0.6.0 a 0.11.3 **Descrição** O Soft Serve, um servidor Git auto-hospedável, contém uma vulnerabilidade de falsificação de solicitação do lado do servidor (SSRF). Um usuário SSH autenticado pode manipular o servidor para fazer solicitações HTTP para endereços IP internos ou privados utilizando o comando `repo import` com uma URL `--lfs-endpoint` especialmente elaborada. A solicitação inicial é cega, mas um atacante hospedando um servidor LFS falso pode aproveitar isso para obter acesso de leitura completo a serviços internos, fornecendo URLs de download que apontam para alvos internos. A vulnerabilidade origina-se da falta de validação do endpoint controlado pelo usuário e do uso de um cliente HTTP desprotegido. O problema persiste mesmo após a correção do SSRF do webhook na versão 0.11.1, pois ela aborda apenas a funcionalidade do webhook e não o caminho de importação do LFS. A vulnerabilidade pode ser explorada através da sincronização de espelho, criando um SSRF persistente que se repete em cada sincronização agendada. O ataque envolve duas etapas: um SSRF cego para confirmar a alcançabilidade e a leitura de respostas internas via um servidor LFS falso. Isso permite aos atacantes realizar varredura de portas, descobrir serviços, roubar credenciais de nuvem, acessar APIs internas e estabelecer persistência. **Recomendações** Versões anteriores a 0.11.4 são vulneráveis. Aplique a correção sugerida: Substitua `http.DefaultClient` em `pkg/lfs/http client.go` por um cliente seguro usando `ValidateIPBeforeDial` no transporte e `http.ErrUseLastResponse` em `CheckRedirect`. Valide a URL do endpoint em `pkg/backend/repo.go` e `pkg/jobs/mirror.go` usando as mesmas verificações realizadas por `ValidateWebhookURL`.