Path Traversal in Mintplex-Labs Mintplex-Labs/anything-Llm
CVE-2024-13059
A vulnerability in mintplex-labs/anything-llm prior to version 1.3.1 allows for path traversal due to improper handling of non-ASCII filenames in the multer library. This vulnerability can lead to arbitrary file write, which can subsequently result in remote code execution. The issue arises when the filename transformation introduces '../' sequences, which are not sanitized by multer, allowing attackers with manager or admin roles to write files to arbitrary locations on the server.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.243, 97.9th percentile (scored ); up from 0.213 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.213 · newest: 0.243 · change: +0.030
Affected products
- Mintplex-Labs Mintplex-Labs/anything-Llm — versions unspecified
- Mintplexlabs Anythingllm
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cve-scores). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1 (Exploit, Third Party Advisory)
- github.com/mintplex-labs/anything-llm/commit/0b7bf68f2c02ca68075970fbf85d5a70ca… (Patch)