CVE-2024-4267
CRITICALlollms-webui 9.5 - Remote Code Execution via 'open_file' Function
Title source: llmDescription
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 (1)
Core 1
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/5a127724-cc13-4ea6-b81f-41546a7fff81
Scores
CVSS v3
9.8
EPSS
0.0148
EPSS Percentile
70.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
total
Details
CWE
CWE-77
Status
published
Products (1)
lollms/lollms-webui
9.5
Published
May 22, 2024
Tracked Since
Feb 18, 2026