Lucene search

K
vulnrichment@huntr_aiVULNRICHMENT:CVE-2024-3104
HistoryJun 06, 2024 - 5:50 p.m.

CVE-2024-3104 Remote Code Execution in mintplex-labs/anything-llm

2024-06-0617:50:18
CWE-78
@huntr_ai
github.com
4
remote code execution
mintplex-labs
anything-llm
environment variables
post endpoint
arbitrary code
host running
latest version
commit
data modification
denial of service

CVSS3

9.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

AI Score

8.1

Confidence

High

EPSS

0

Percentile

9.6%

SSVC

Exploitation

poc

Automatable

no

Technical Impact

total

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:mintplexlabs:anythingllm:*:*:*:*:*:*:*:*"
    ],
    "vendor": "mintplexlabs",
    "product": "anythingllm",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "1.0.0",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

9.6

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

AI Score

8.1

Confidence

High

EPSS

0

Percentile

9.6%

SSVC

Exploitation

poc

Automatable

no

Technical Impact

total

Related for VULNRICHMENT:CVE-2024-3104