Kan is Vulnerable to Unauthenticated SSRF via Attachment Download Endpoint
Description
Kan is an open-source project management tool. In versions 0.5.4 and below, the /api/download/attatchment endpoint has no authentication and no URL validation. The Attachment Download endpoint accepts a user-supplied URL query parameter and passes it directly to fetch() server-side, and returns the full response body. An unauthenticated attacker can use this to make HTTP requests from the server to internal services, cloud metadata endpoints, or private network resources. This issue has been fixed in version 0.5.5. To workaround this issue, block or restrict access to /api/download/attatchment at the reverse proxy level (nginx, Cloudflare, etc.).
Affected products
2- kanbn/kanv5Range: < 0.5.5
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/kanbn/kan/commit/53397d8e81dc1494d94132848c1f0416f1152bd7mitrex_refsource_MISC
- github.com/kanbn/kan/releases/tag/v0.5.5mitrex_refsource_MISC
- github.com/kanbn/kan/security/advisories/GHSA-qrx8-9hc6-jvqgmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.