CVE-2024-4078: parisneo/lollms - Remote Code Execution
- Cve: CVE-2024-4078
- Name: parisneo/lollms - Remote Code Execution
- Description: 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.
- Impact: Attackers can execute arbitrary code remotely, potentially leading to full system compromise.
- Remediation: Apply input sanitization to the 'name' parameter and update to the latest version of the software.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00924
- Epss percentile: 0.61309
- Assignee: [email protected]
- Published at: 2024-05-16T09:15:15Z
- Age in days: 922
- Modified at: 2026-06-17T08:01:03Z
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-4078
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f | nvd | |
| https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| parisneo:lollms-webui | = 1.4.6 | no | adp_cpes | /v1/products/parisneo/lollms-webui |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| ParisNeo/lollms | commit, package | yes | /v1/repositories/ParisNeo/lollms |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts