GHSA-QF5P-GRF5-WCQ4
Password-reset, email-confirm and account-deletion tokens in the URL query reach access logs
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-QF5P-GRF5-WCQ4 divulgada · CVSS 6.1 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
Password-reset, email-confirmation and account-deletion emails link to `?userPasswordReset=`, `?userEmailConfirm=` and `?accountDeletionConfirm=` URLs. On the default single-binary deploy, clicking one writes the live token into Vikunja's HTTP access log and into any reverse-proxy logs in front of it.
Details
- The token links are built in `pkg/user/notifications.go:52,128,232`. The binary serves the SPA itself (`pkg/routes/routes.go:267`), so the GET with the query string reaches Vikunja.
- The request logger records the full URI (`routes.go:164,174`). HTTP logging is on by default, to stdout at Info level (`pkg/config/config.go:460,466`).
- Tokens are single-use but not expiry-checked on use (`pkg/user/token.go:98`). Reset and deletion tokens are purged after 24h by an hourly cron (`:132,154`), so they live about 25h. Email-confirm tokens never expire.
Impact
Medium to high. Requires read access to the access logs (log aggregation, a shared reverse proxy, hosting or support staff) and a user clicking an emailed link. An unredeemed password-reset token lets the log reader set a new password and take over the account; an account-deletion token lets them confirm the deletion.
Fix
Move the token into the URL fragment, which needs frontend changes: `frontend/src/router/index.ts:505,536-548`, `frontend/src/App.vue:110-118`, `frontend/src/views/user/PasswordReset.vue:79` (the router uses `createWebHistory`; the Sentry regex already covers `#`). Accept both forms for a while so already-sent emails keep working. Redacting only in Vikunja's logger misses proxy logs.
_Found via internal security review (f2 #1, deep #1)._
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-qf5p-grf5-wcq4Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
