{"id":"CVE-2024-2361","published":"2024-05-16T09:03:50Z","modified":"2024-08-01T19:11:53Z","title":"Arbitrary Upload & Read via Path Traversal in parisneo/lollms-webui","vendor":"parisneo","product":"parisneo/lollms-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.6,"severity":"CRITICAL","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00634,"percentile":0.51337,"provenance":"source"},"cwes":[{"id":"CWE-29","name":"Path Traversal: '..filename'"}],"references":[{"url":"https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176","tags":[]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":10.27},{"name":"CVSS severity","points":6.72}]},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms-webui","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2024-05-24T18:30:02.161121Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-27314","exploited":false,"provenance":"source"}}