CVE-2024-4267

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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:parisneo:lollms-webui:9.5:*:*:*:*:*:*:*

History

03 Jul 2025, 16:20

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 8.4
v2 : unknown
v3 : 9.8
First Time Parisneo
Parisneo lollms-webui
CPE cpe:2.3:a:parisneo:lollms-webui:9.5:*:*:*:*:*:*:*
References () https://huntr.com/bounties/5a127724-cc13-4ea6-b81f-41546a7fff81 - () https://huntr.com/bounties/5a127724-cc13-4ea6-b81f-41546a7fff81 - Exploit, Third Party Advisory

Information

Published : 2024-05-22 20:15

Updated : 2025-07-03 16:20


NVD link : CVE-2024-4267

Mitre link : CVE-2024-4267

CVE.ORG link : CVE-2024-4267


JSON object : View

Products Affected

parisneo

  • lollms-webui
CWE
CWE-77

Improper Neutralization of Special Elements used in a Command ('Command Injection')