{"id":"CVE-2024-2361","aliases":["CVE-2024-2361"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Upload & Read via Path Traversal in parisneo/lollms-webui","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en parisneo/lollms-webui permite la carga y lectura de archivos arbitrarios debido a una desinfección insuficiente de la entrada proporcionada por el usuario. Específicamente, el problema reside en la función `install_model()` dentro de `lollms_core/lollms/binding.py`, donde la aplicación no puede limpiar correctamente el protocolo `file://` y otras entradas, lo que genera capacidades de carga y lectura arbitrarias. Los atacantes pueden explotar esta vulnerabilidad manipulando los parámetros `path` y `variant_name` para lograr path traversal, lo que permite la lectura de archivos arbitrarios y la carga de archivos a ubicaciones arbitrarias en el servidor. Esta vulnerabilidad afecta a la última versión de parisneo/lollms-webui.","source":"nvd"}],"published":"2024-05-16T09:03:50.151Z","modified":"2026-06-17T07:24:23.403Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-29"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"parisneo","product":"parisneo/lollms-webui","source":"cvelist"},{"ranges":[{"version":"*","status":"affected"}],"vendor":"parisneo","product":"lollms-webui","cpe":"cpe:2.3:a:parisneo:lollms-webui:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"9.5"}],"vendor":"lollms","product":"lollms_web_ui","cpe":"cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/cd383817-924a-445a-838e-d0c867c6a176","tags":["exploit","issue-tracking","patch","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-05-24T18:30:02.161Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-2361","url":"https://www.cve.org/CVERecord?id=CVE-2024-2361","licence":"CVE Terms of Use","modified":"2024-08-01T19:11:53.455Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-2361","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2361","licence":"Public domain","modified":"2026-06-17T07:24:23.403Z"}],"updatedAt":"2026-11-25T22:58:40.426Z","epss":{"score":0.00634,"percentile":0.51721,"date":"2026-12-01T12:00:22.000Z"}}