{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-4078","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-04-23T14:42:00.879Z","datePublished":"2024-05-16T09:03:49.562Z","dateUpdated":"2024-08-08T14:40:25.921Z"},"containers":{"cna":{"title":"Arbitrary Code Execution in parisneo/lollms","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-05-16T09:03:49.562Z"},"descriptions":[{"lang":"en","value":"A vulnerability in the parisneo/lollms, specifically in the `/unInstall_binding` endpoint, allows for arbitrary code execution due to insufficient sanitization of user input. The issue arises from the lack of path sanitization when handling the `name` parameter in the `unInstall_binding` function, allowing an attacker to traverse directories and execute arbitrary code by loading a malicious `__init__.py` file. This vulnerability affects the latest version of the software. The exploitation of this vulnerability could lead to remote code execution on the system where parisneo/lollms is deployed."}],"affected":[{"vendor":"parisneo","product":"parisneo/lollms","versions":[{"version":"unspecified","lessThan":"main","status":"affected","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d"},{"url":"https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"}}],"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":"a55a8c04-df44-49b2-bcfa-2a2b728a299d","discovery":"EXTERNAL"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T20:33:51.663Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/a55a8c04-df44-49b2-bcfa-2a2b728a299d","tags":["x_transferred"]},{"url":"https://github.com/parisneo/lollms/commit/7ebe08da7e0026b155af4f7be1d6417bc64cf02f","tags":["x_transferred"]}]},{"affected":[{"vendor":"parisneo","product":"lollms-webui","cpes":["cpe:2.3:a:parisneo:lollms-webui:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"1.4.6","status":"affected"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-05-16T14:55:26.479896Z","id":"CVE-2024-4078","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-08-08T14:40:25.921Z"}}]}}