CVE-2024-13059 Information

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.

Reference

https://github.com/mintplex-labs/anything-llm/commit/0b7bf68f2c02ca68075970fbf85d5a70ca5e94ca https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1 https://huntr.com/bounties/92a875fe-c5b3-485c-b03f-d3185189e0b1

Share on: