GHSA-XGW3-CCQG-F6WW
Migration OAuth callbacks are not bound to the initiating user
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-XGW3-CCQG-F6WW divulgada · CVSS 3.5 (GitHub) | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
## Summary
The attacker authorizes their own Todoist, Microsoft To Do or Trello account, keeps the unused callback code/token, and lures a logged-in victim to the Vikunja migration callback URL. The attacker's data is imported into the victim's account, and the frontend starts the import automatically.
## Details
- Todoist generates a `state` but discards it (`pkg/modules/migration/todoist/todoist.go:228-235`). Microsoft To Do (`pkg/modules/migration/microsoft-todo/microsoft_todo.go:137-144`) and Trello (`pkg/modules/migration/trello/trello.go:98-107`) use no `state` at all.
- The API accepts a bare code/token (`pkg/routes/api/v2/migration_oauth.go:33-83`).
- The frontend auto-starts the migration on the callback route (`frontend/src/router/index.ts:196-203`, `frontend/src/views/migrate/MigrationHandler.vue:219-236`).
## Impact
Attacker-chosen projects and tasks (e.g. with phishing links) appear in the victim's account. No victim data is disclosed.
## Fix
Bind a server-side, single-use `state` to the user on the auth-URL call and verify it on callback, for all three migrators.
_Found via internal security review (04 #1, deep #15)._
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-xgw3-ccqg-f6wwLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
