{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-4267", "ASSIGNER": "security@huntr.com", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')", "cweId": "CWE-77" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "parisneo", "product": { "product_data": [ { "product_name": "parisneo/lollms-webui", "version": { "version_data": [ { "version_affected": "<=", "version_name": "unspecified", "version_value": "latest" } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://huntr.com/bounties/5a127724-cc13-4ea6-b81f-41546a7fff81", "refsource": "MISC", "name": "https://huntr.com/bounties/5a127724-cc13-4ea6-b81f-41546a7fff81" } ] }, "source": { "advisory": "5a127724-cc13-4ea6-b81f-41546a7fff81", "discovery": "EXTERNAL" }, "impact": { "cvss": [ { "version": "3.0", "attackComplexity": "LOW", "attackVector": "LOCAL", "availabilityImpact": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH" } ] } }