AnythingLLM unauthenticated DoS via data-export filename
Date: 2024-02
Affected: anything-llm pre-commit 08d33cfd8
Attack vector: dos
Category: real-world
Severity: High
CVE: CVE-2024-0765
CVE-2024-22422
CWE: CWE-200
CWE-754
CVSS: 7.5 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)

Pre-08d33cfd8 versions of AnythingLLM have a public data-export endpoint whose filename parameter (after directory-traversal filtering) can be coerced to point to the current directory; attempting to delete it crashes the server. Single-packet unauthenticated DoS.


Mitigations:

Architectural layers (MAESTRO):