Description
Vikunja is an open-source self-hosted task management platform. Prior to version 2.2.1, the `DownloadImage` function in `pkg/utils/avatar.go` uses a bare `http.Client{}` with no SSRF protection when downloading user avatar images from the OpenID Connect `picture` claim URL. An attacker who controls their OIDC profile picture URL can force the Vikunja server to make HTTP GET requests to arbitrary internal or cloud metadata endpoints. This bypasses the SSRF protections that are correctly applied to the webhook system. Version 2.2.1 patches the issue.
Problem types
CWE-918: Server-Side Request Forgery (SSRF)
Product status
References
github.com/...ikunja/security/advisories/GHSA-g9xj-752q-xh63
github.com/...ommit/363aa6642352b08fc8bc6aaff2f3a550393af1cf
vikunja.io/changelog/vikunja-v2.2.2-was-released