{"id":"CVE-2024-4267","published":"2024-05-22T19:29:56Z","modified":"2024-08-01T20:33:53Z","title":"Remote Code Execution in parisneo/lollms-webui","vendor":"parisneo","product":"parisneo/lollms-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01484,"percentile":0.74617,"provenance":"source"},"cwes":[{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://huntr.com/bounties/5a127724-cc13-4ea6-b81f-41546a7fff81","tags":[]}],"priority":{"score":20.8,"factors":[{"name":"EPSS percentile","points":14.92},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms-webui","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2024-05-23T16:52:04.366348Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-32817","exploited":false,"provenance":"source"}}