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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*

History

09 Jul 2025, 15:11

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad en mintplex-labs/anything-llm anterior a la versión 1.3.1 permite path traversal debido a la gestión inadecuada de nombres de archivos que no son ASCII en la librería multer. Esta vulnerabilidad puede provocar escrituras arbitrarias en archivos, lo que posteriormente puede provocar la ejecución remota de código. El problema surge cuando la transformación de nombres de archivos introduce secuencias '../', que no son depuradas por multer, lo que permite a los atacantes con roles de administrador o gerente escribir archivos en ubicaciones arbitrarias en el servidor.
References () https://github.com/mintplex-labs/anything-llm/commit/0b7bf68f2c02ca68075970fbf85d5a70ca5e94ca - () https://github.com/mintplex-labs/anything-llm/commit/0b7bf68f2c02ca68075970fbf85d5a70ca5e94ca - Patch
References () https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1 - () https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1 - Exploit, Third Party Advisory
CPE cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*
First Time Mintplexlabs anythingllm
Mintplexlabs
CWE CWE-22

11 Feb 2025, 00:15

Type Values Removed Values Added
References () https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1 - () https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1 -

10 Feb 2025, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-02-10 19:15

Updated : 2025-07-09 15:11


NVD link : CVE-2024-13059

Mitre link : CVE-2024-13059

CVE.ORG link : CVE-2024-13059


JSON object : View

Products Affected

mintplexlabs

  • anythingllm
CWE
CWE-29

Path Traversal: '\..\filename'

CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')