CVE-2024-4320
CRITICALEPSS 98th pctlDescription
A remote code execution (RCE) vulnerability exists in the '/install_extension' endpoint of the parisneo/lollms-webui application, specifically within the `@router.post("/install_extension")` route handler. The vulnerability arises due to improper handling of the `name` parameter in the `ExtensionBuilder().build_extension()` method, which allows for local file inclusion (LFI) leading to arbitrary code execution. An attacker can exploit this vulnerability by crafting a malicious `name` parameter that causes the server to load and execute a `__init__.py` file from an arbitrary location, such as the upload directory for discussions. This vulnerability affects the latest version of parisneo/lollms-webui and can lead to remote code execution without requiring user interaction, especially when the application is exposed to an external endpoint or operated in headless mode.
How to fix
No published remediation has been found for this vulnerability's affected products yet.
Mitigation guidance may be in the linked vendor advisories in the References section below.
TridentStack Control tracks known vulnerabilities across your Windows, macOS, and Linux fleet and shows the fix as soon as one is published. See how it works
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Very high risk: more likely to be exploited than 98% of all known CVEs.
References
Related Vulnerabilities
Other CWE-29 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-6909 | High | 7.5 | 90% | - | Fix |
| CVE-2023-1177 | Critical | 9.3 | 69% | - | Fix |
| CVE-2024-6396 | Critical | 9.8 | 53% | - | - |
| CVE-2024-3848 | High | 7.5 | 43% | - | Fix |
| CVE-2024-2083 | Critical | 9.9 | 39% | - | Fix |
| CVE-2023-6021 | High | 7.5 | 37% | - | - |
Embed a live status badge for CVE-2024-4320
Markdown
[](https://tridentstack.com/cve/CVE-2024-4320)HTML
<a href="https://tridentstack.com/cve/CVE-2024-4320"><img src="https://tridentstack.com/cve/badge/CVE-2024-4320.svg" alt="CVE-2024-4320"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.