Description
CoAI (Chat Nio) through 4.0.0 contains an unauthenticated path traversal vulnerability in the generation and article archive download endpoints via the hash query parameter. Attackers can supply ../ sequences in hash to download any readable .tar.gz or .zip file, including other users' generated archives.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
coaidev CoAI
Default version status: unaffected
0 to ≤ 4.0.0affected
pkg:github/coaidev/coaiReferences
- https://hackmd.io/@hieuPenguinnn/coai-chatnio-generation-article-download-path-traversal ↗
- https://github.com/coaidev/coai/blob/v4.0.0/addition/generation/api.go#L19-L29 ↗
- https://github.com/coaidev/coai/blob/v4.0.0/addition/article/api.go#L25-L35 ↗
- https://www.vulncheck.com/advisories/coai-through-4.0.0-unauthenticated-path-traversal-via-archive-download-endpoints ↗