RCE in Lollms Lollms-Webui
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.015 (73.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 73.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- Lollms Lollms-Webui — versions 9.5
- Parisneo Parisneo/lollms-Webui — versions unspecified
Weakness classification (CWE)
References
- huntr.com/bounties/5a127724-cc13-4ea6-b81f-41546a7fff81 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-4267?
- CVE-2024-4267 is a critical-severity vulnerability in Lollms Lollms-Webui, classified under Command Injection. CVSS score: 9.8/10. Published 2024-05-22.
- How severe is CVE-2024-4267?
- Critical severity. CVSS v3 base score is 9.8 out of 10.