{ "dataType": "CVE_RECORD", "dataVersion": "5.1", "cveMetadata": { "cveId": "CVE-2024-4267", "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "state": "PUBLISHED", "assignerShortName": "@huntr_ai", "dateReserved": "2024-04-26T18:16:36.135Z", "datePublished": "2024-05-22T19:29:56.867Z", "dateUpdated": "2024-08-01T20:33:53.200Z" }, "containers": { "cna": { "title": "Remote Code Execution in parisneo/lollms-webui", "providerMetadata": { "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a", "shortName": "@huntr_ai", "dateUpdated": "2024-05-22T19:29:56.867Z" }, "descriptions": [ { "lang": "en", "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." } ], "affected": [ { "vendor": "parisneo", "product": "parisneo/lollms-webui", "versions": [ { "version": "unspecified", "status": "affected", "versionType": "custom", "lessThanOrEqual": "latest" } ] } ], "references": [ { "url": "https://huntr.com/bounties/5a127724-cc13-4ea6-b81f-41546a7fff81" } ], "metrics": [ { "cvssV3_0": { "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" } } ], "problemTypes": [ { "descriptions": [ { "type": "CWE", "lang": "en", "description": "CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection')", "cweId": "CWE-77" } ] } ], "source": { "advisory": "5a127724-cc13-4ea6-b81f-41546a7fff81", "discovery": "EXTERNAL" } }, "adp": [ { "title": "CISA ADP Vulnrichment", "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2024-4267", "role": "CISA Coordinator", "options": [ { "Exploitation": "poc" }, { "Automatable": "no" }, { "Technical Impact": "total" } ], "version": "2.0.3", "timestamp": "2024-05-23T16:52:04.366348Z" } } } ], "affected": [ { "cpes": [ "cpe:2.3:a:parisneo:lollms-webui:9.5:*:*:*:*:*:*:*" ], "vendor": "parisneo", "product": "lollms-webui", "versions": [ { "status": "affected", "version": "9.5" } ], "defaultStatus": "affected" } ], "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-06-04T17:55:41.376Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-01T20:33:53.200Z" }, "title": "CVE Program Container", "references": [ { "url": "https://huntr.com/bounties/5a127724-cc13-4ea6-b81f-41546a7fff81", "tags": [ "x_transferred" ] } ] } ] } }