CVE-2024-13059

HIGHCVSS 7.2/10EPSS 19.78%

Last modified

CVE-2024-13059 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 19.78% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.0
7.2/10

CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
19.78%

97.1th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
MintplexlabsAnythingllm< 1.3.1

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is 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.
How severe is CVE-2024-13059?
CVE-2024-13059 has a CVSS score of 7.2/10 (HIGH severity). The EPSS model estimates a 19.78% probability of exploitation in the next 30 days.
How do I fix CVE-2024-13059?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-13059?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST