CVE-2024-3028 Improper Input Validation in mintplex-labs/anything-llm
HighCVSS 7.2
EPSS 0.83%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mintplex-labs/anything-llm | < 1.0.0 | 1.0.0 | Fixed |
| mintplexlabs anythingllm | < 1.0.0; <= 1.0.0 | 1.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mintplex-labs/anything-llm | < 1.0.0 | 1.0.0 |
| mintplexlabs anythingllm | <= 1.0.0 | No fix listed |
| mintplexlabs anythingllm | < 1.0.0 | 1.0.0 |
References
- huntr.com exploit third-party-advisory
- github.com patch