CVE-2024-4267
Severity CVSS v4.0:
Pending analysis
Type:
CWE-77
Command Injection
Publication date:
22/05/2024
Last modified:
03/07/2025
Description
A remote code execution (RCE) vulnerability exists in the parisneo/lollms-webui, specifically within the 'open_file' module, version 9.5. The vulnerability arises due to improper neutralization of special elements used in a command within the 'open_file' function. An attacker can exploit this vulnerability by crafting a malicious file path that, when processed by the 'open_file' function, executes arbitrary system commands or reads sensitive file content. This issue is present in the code where subprocess.Popen is used unsafely to open files based on user-supplied paths without adequate validation, leading to potential command injection.
Impact
Base Score 3.x
9.80
Severity 3.x
CRITICAL
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:parisneo:lollms-webui:9.5:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page