CVE-2024-13059
Path Traversal in mintplex-labs/anything-llm
Summary
Path Traversal in mintplex-labs/anything-llm
Original description
The description as published by the source.
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.
References
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- web huntr.com