CVE-2024-4320

CVE-2024-4320 is a critical-severity vulnerability in Lollms Lollms Web Ui with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 34% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-22.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-4320?
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 severe is CVE-2024-4320?
CVE-2024-4320 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2024-4320 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 34% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-4320?
CVE-2024-4320 affects Lollms Lollms Web Ui. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-4320?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
Does CVE-2024-4320 have an EU (EUVD) identifier?
Yes. CVE-2024-4320 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-43963.
When was CVE-2024-4320 published?
CVE-2024-4320 was published on 2024-06-06 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Lollms Lollms Web Ui

All CVEs affecting Lollms Lollms Web Ui →

Other CWE-22 (Path Traversal) vulnerabilities

Browse all CWE-22 (Path Traversal) vulnerabilities →