RCE in Parisneo Parisneo/lollms

CVE-2024-4078

A vulnerability in the parisneo/lollms, specifically in the `/unInstall_binding` endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling the `name` parameter in the `unInstall_binding` function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious `__init__.py` file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.009 (56.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-4078?
CVE-2024-4078 is a critical-severity vulnerability in Parisneo Parisneo/lollms, classified under Command Injection. CVSS score: 9.8/10. Published 2024-05-16.
How severe is CVE-2024-4078?
Critical severity. CVSS v3 base score is 9.8 out of 10.