GHSA-586F-48MJ-3RWR
Read-only project members see credential-bearing webhook URLs
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-586F-48MJ-3RWR divulgada · CVSS 4.3 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
A read-only project member (directly or through a team) can list the project's webhooks and gets each full `target_url`. For Slack/Discord-style receivers the URL is the credential. This is the part left open after GHSA-7c2g-p23p-4jg3, which masked the basic-auth fields.
Details
The project branch of `Webhook.ReadAll` (`pkg/models/webhooks.go:238-246`) only checks `Project.CanRead`, and `Webhook.CanRead` delegates the same way (`pkg/models/webhooks_permissions.go:35`). `maskCredentials` (`webhooks.go:91-94`) clears the secret and basic-auth fields but keeps `TargetURL`. Writes already need `CanWrite` (`webhooks_permissions.go:76-77`). The code already treats webhook URLs as secrets: see the comment at `webhooks.go:223`, and ce0d1355c blocks link shares from listing them.
Impact
Low to medium. Needs read access to the project. Integration credentials embedded in webhook URLs (incoming-webhook tokens, API keys in the query string) reach users who aren't allowed to manage webhooks. They can then post to the receiving channel or reuse the key until it is rotated.
Fix
Require `p.CanWrite` (or admin) in the project branch of `ReadAll` and in `CanRead` (`webhooks_permissions.go:35`).
_Found via internal security review (deep #17)._
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
gocode.vikunja.io/api |
Sin parche | — | — | v0.24.6 afectada |
Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/go-vikunja/vikunja/security/advisories/GHSA-586f-48mj-3rwrLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
