GHSA-RP64-XG8G-9MPR
Dump archive is created with umask permissions
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-RP64-XG8G-9MPR divulgada | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
## Summary
`vikunja dump`, run by an admin, writes the config, the environment, the full database (password hashes, TOTP secrets, tokens) and every stored file into one zip. The file is created with umask permissions (typically 0644) in the rootpath, so other OS users on the same host can read it.
## Details
`pkg/modules/dump/dump.go:36` creates the archive with `os.Create` (mode 0666 before umask) and no `O_EXCL`. The contents are written at `pkg/modules/dump/dump.go:47-91`. The default location is the rootpath (`pkg/cmd/dump.go:56`).
## Impact
Other local users on a shared host who can traverse the target directory can read the dumped secrets after an admin has run a dump. The preconditions (shared host, readable directory, an admin-run dump) keep this low.
## Fix
Create the archive with mode 0600 and `O_EXCL`. `O_EXCL` matters mainly with `--filename`, since the default name is timestamped.
_Found via internal security review (f2 #8, 03 #10, 04 #10, deep #35)._
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-rp64-xg8g-9mprLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
