{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-2361","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","state":"PUBLISHED","assignerShortName":"@huntr_ai","dateReserved":"2024-03-10T00:06:37.351Z","datePublished":"2024-05-16T09:03:50.151Z","dateUpdated":"2024-08-01T19:11:53.455Z"},"containers":{"cna":{"title":"Arbitrary Upload & Read via Path Traversal in parisneo/lollms-webui","providerMetadata":{"orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","shortName":"@huntr_ai","dateUpdated":"2024-05-16T09:03:50.151Z"},"descriptions":[{"lang":"en","value":"A vulnerability in the parisneo/lollms-webui allows for arbitrary file upload and read due to insufficient sanitization of user-supplied input. Specifically, the issue resides in the `install_model()` function within `lollms_core/lollms/binding.py`, where the application fails to properly sanitize the `file://` protocol and other inputs, leading to arbitrary read and upload capabilities. Attackers can exploit this vulnerability by manipulating the `path` and `variant_name` parameters to achieve path traversal, allowing for the reading of arbitrary files and uploading files to arbitrary locations on the server. This vulnerability affects the latest version of parisneo/lollms-webui."}],"affected":[{"vendor":"parisneo","product":"parisneo/lollms-webui","versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}]}],"references":[{"url":"https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","baseScore":9.6,"baseSeverity":"CRITICAL"}}],"problemTypes":[{"descriptions":[{"type":"CWE","lang":"en","description":"CWE-29 Path Traversal: '\\..\\filename'","cweId":"CWE-29"}]}],"source":{"advisory":"cd383817-924a-445a-838e-d0c867c6a176","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-2361","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2024-05-24T18:30:02.161121Z"}}}],"affected":[{"cpes":["cpe:2.3:a:parisneo:lollms-webui:*:*:*:*:*:*:*:*"],"vendor":"parisneo","product":"lollms-webui","versions":[{"status":"affected","version":"*"}],"defaultStatus":"affected"}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:30:41.590Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-01T19:11:53.455Z"},"title":"CVE Program Container","references":[{"url":"https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176","tags":["x_transferred"]}]}]}}