Description (CNA)
Usagi-org ai-goofish-monitor contains an unauthenticated arbitrary file read vulnerability in the GET /api/prompts/{filename} endpoint on Windows deployments that allows unauthenticated remote attackers to read arbitrary files by supplying absolute Windows paths or backslash-based traversal sequences. Attackers can bypass the incomplete path traversal guard, which only blocks forward slashes and '..', by providing absolute paths such as Windows system file locations, causing os.path.join to discard the intended prompts directory prefix and expose files accessible to the application process.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Usagi-org / ai-goofish-monitor | affected 0 before f85d140b6b45029d9a0925feb96dad733b41396d |
CWE
CWE-36
References
- https://github.com/Usagi-org/ai-goofish-monitor/issues/488
- https://github.com/Usagi-org/ai-goofish-monitor/pull/489
- https://www.vulncheck.com/advisories/ai-goofish-monitor-unauthenticated-arbitrary-file-read-via-get-api-prompts
- https://github.com/Usagi-org/ai-goofish-monitor/commit/f85d140b6b45029d9a0925feb96dad733b41396d
ADP enrichment
No English description supplied.