High severity · published Jun 12, 2024
CVE-2024-5211
Path Traversal to Arbitrary File Read/Delete/Overwrite, DoS Attack, and Admin Account Takeover in mintplex-labs/anything-llm
7.2
CVSS
1%
EPSS
No
On KEV
Description
A path traversal vulnerability in mintplex-labs/anything-llm allowed a manager to bypass the `normalizePath()` function, intended to defend against path traversal attacks. This vulnerability enables the manager to read, delete, or overwrite the 'anythingllm.db' database file and other files stored in the 'storage' directory, such as internal communication keys and .env secrets. Exploitation of this vulnerability could lead to application compromise, denial of service (DoS) attacks, and unauthorized admin account takeover. The issue stems from improper validation of user-supplied input in the process of setting a custom logo for the app, which can be manipulated to achieve arbitrary file read, deletion, or overwrite, and to execute a DoS attack by deleting critical files required for the application's operation.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 64% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
MI
mintplex-labs/anything-llm · mintplex-labs
before 1.0.0 · source: vendor
AN
Anythingllm · Mintplexlabs
before 1.0.0 · source: NVD, CISA
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-5211
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-5211
Patch
https://github.com/mintplex-labs/anything-llm/commit/e208074ef4c240fe03e4147ab097ec3b52b97619
Exploit
https://huntr.com/bounties/38f282cb-7226-435e-9832-2d4a102dad4b
More from mintplex-labs/anything-llm
9.9
CVE-2024-3025
Path Traversal in mintplex-labs/anything-llm
9.8
CVE-2024-8196
Missing Authentication for Critical Function in mintplex-labs/anything-llm
9.8
CVE-2024-3104
Remote Code Execution in mintplex-labs/anything-llm
9.8
CVE-2023-4897
Relative Path Traversal in mintplex-labs/anything-llm
9.6
CVE-2024-3166
Cross-Site Scripting (XSS) Vulnerability in mintplex-labs/anything-llm
