CVE-2024-3025

Path Traversal in mintplex-labs/anything-llm

State
Published
Severity
9.9 Critical
Published
Apr 10, 2024
Updated
Aug 1, 2024
Reserved
Mar 27, 2024

Read the record on cve.org

Description

mintplex-labs/anything-llm is vulnerable to path traversal attacks due to insufficient validation of user-supplied input in the logo filename functionality. Attackers can exploit this vulnerability by manipulating the logo filename to reference files outside of the restricted directory. This can lead to unauthorized reading or deletion of files by utilizing the `/api/system/upload-logo` and `/api/system/logo` endpoints. The issue stems from the lack of filtering or validation on the logo filename, allowing attackers to target sensitive files such as the application's database.

Scores

CVSSScoreVectorSource
3.09.9 CriticalCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H@huntr_ai

Weaknesses

  • CWE-23 Relative Path Traversal

Affected Products

ProductVersions
mintplex-labs/anything-llmmintplex-labs
  • before 1.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.