CVE-2024-3104
Last modified
CVE-2024-3104 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. A remote code execution vulnerability exists in mintplex-labs/anything-llm due to improper handling of environment variables. Attackers can exploit this vulnerability by injecting arbitrary environment variables via the `POST /api/system/update-env` endpoint, which allows for the execution of arbitrary code on the host running anything-llm. EPSS estimates a 0.97% chance of exploitation in the next 30 days.
Description
A remote code execution vulnerability exists in mintplex-labs/anything-llm due to improper handling of environment variables. Attackers can exploit this vulnerability by injecting arbitrary environment variables via the `POST /api/system/update-env` endpoint, which allows for the execution of arbitrary code on the host running anything-llm. The vulnerability is present in the latest version of anything-llm, with the latest commit identified as fde905aac1812b84066ff72e5f2f90b56d4c3a59. This issue has been fixed in version 1.0.0. Successful exploitation could lead to code execution on the host, enabling attackers to read and modify data accessible to the user running the service, potentially leading to a denial of service.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mintplexlabs | Anythingllm | < 1.0.0 |
References
- https://huntr.com/bounties/4f2fcb45-5828-4bec-985a-9d3a0ee00462Exploit, Third Party Advisory
- https://huntr.com/bounties/4f2fcb45-5828-4bec-985a-9d3a0ee00462Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-3104?
How severe is CVE-2024-3104?
How do I fix CVE-2024-3104?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-3103Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-31030An issue in coap_msg.c in Keith Cullen's FreeCoAP v.0.7 allo…9.1
- CVE-2024-31031An issue in `coap_pdu.c` in libcoap 4.3.4 allows attackers t…7.5
- CVE-2024-31032An issue in Huashi Private Cloud CDN Live Streaming Accelera…9.8
- CVE-2024-31033JJWT (aka Java JWT) through 0.12.5 ignores certain character…6.8
- CVE-2024-31036A heap-buffer-overflow vulnerability in the read_byte functi…6.8
- CVE-2024-31040Buffer Overflow vulnerability in the get_var_integer functio…2.7
- CVE-2024-31041Null Pointer Dereference vulnerability in topic_filtern func…7.5
- CVE-2024-31047An issue in Academy Software Foundation openexr v.3.2.3 and …3.3
- CVE-2024-3105The Woody code snippets – Insert Header Footer Code, AdSense…9.9
- CVE-2024-31061Cross Site Scripting vulnerability in Insurance Mangement Sy…6.1
- CVE-2024-31062Cross Site Scripting vulnerability in Insurance Mangement Sy…6.3
Are you affected by CVE-2024-3104?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
