Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| coaidev / CoAI | affected 0 through 4.0.0 |
CWE
CWE-22
References
- 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
ADP enrichment
No English description supplied.