CVE-2024-3028: mintplex-labs anything-llm - Path Traversal
- Cve: CVE-2024-3028
- Name: mintplex-labs anything-llm - Path Traversal
- Description: mintplex-labs/anything-llm is vulnerable to improper input validation, allowing attackers to read and delete arbitrary files on the server. By manipulating the 'logo_filename' parameter in the 'system-preferences' API endpoint, an attacker can construct requests to read sensitive files or the application's '.env' file, and even delete files by setting the 'logo_filename' to the path of the target file and invoking the 'remove-logo' API endpoint. This vulnerability is due to the lack of proper sanitization of user-supplied input.
- Impact: Attackers can read sensitive files or delete files on the server, potentially leading to information disclosure or denial of service.
- Remediation: Implement proper input sanitization and validation for 'logo_filename' parameter to prevent arbitrary file access and deletion.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure, denial_of_service, file_system_read, file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.2
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00834
- Epss percentile: 0.58607
- Assignee: [email protected]
- Published at: 2024-04-16T00:15:11Z
- Age in days: 952
- Modified at: 2026-06-17T07:43:09Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-3028
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
| NVD-CWE-noinfo | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/41016b86-eabb-4161-ac81-40a1ca8e82ac | nvd | 2024-04-16 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/mintplex-labs/anything-llm/commit/7de23dbb2da932fbfb39f56d981784d3702cf5ce | nvd | Patch |
| https://huntr.com/bounties/41016b86-eabb-4161-ac81-40a1ca8e82ac | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mintplexlabs:anythingllm | < 1.0.0 | no | nvd | /v1/products/mintplexlabs/anythingllm |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Mintplex-Labs/anything-llm | commit, fix | yes | /v1/repositories/Mintplex-Labs/anything-llm |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-04-16
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts