Paper/Archive/CVE-2024-3025

CVE-2024-3025

mintplex-labs mintplex-labs/anything-llm — Path Traversal in mintplex-labs/anything-llm

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
mintplex-labs/anything-llmunspecified – < 1.0.01.0.0CNA
mintplex-labs\/anything-llm< 1.0.01.0.0CISA-ADP

Scores by source

@huntr_ai (CNA)9.9CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: partial

References

refhuntr.com/bounties/fb09a352-1016-4481-ae88-7460e2b6062brefgithub.com/mintplex-labs/anything-llm/commit/7de23dbb2da932fbfb39f56d981784d3702cf5ce