{"id":"CVE-2024-2359","aliases":["CVE-2024-2359"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Neutralization of Special Elements used in an OS Command in parisneo/lollms-webui","summary":"A vulnerability in the parisneo/lollms-webui version 9.3 allows attackers to bypass intended access restrictions and execute arbitrary code. The issue arises from the application's handling of the `/execute_code` endpoint, which is intended to be blocked from external access by default. However, attackers can exploit the `/update_setting` endpoint, which lacks proper access control, to modify the `host` configuration at runtime. By changing the `host` setting to an attacker-controlled value, the restriction on the `/execute_code` endpoint can be bypassed, leading to remote code execution. This vulnerability is due to improper neutralization of special elements used in an OS command (`Improper Neutralization of Special Elements used in an OS Command`).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A vulnerability in the parisneo/lollms-webui version 9.3 allows attackers to bypass intended access restrictions and execute arbitrary code. The issue arises from the application's handling of the `/execute_code` endpoint, which is intended to be blocked from external access by default. However, attackers can exploit the `/update_setting` endpoint, which lacks proper access control, to modify the `host` configuration at runtime. By changing the `host` setting to an attacker-controlled value, the restriction on the `/execute_code` endpoint can be bypassed, leading to remote code execution. This vulnerability is due to improper neutralization of special elements used in an OS command (`Improper Neutralization of Special Elements used in an OS Command`).","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en la versión 9.3 de parisneo/lollms-webui permite a los atacantes eludir las restricciones de acceso previstas y ejecutar código arbitrario. El problema surge del manejo por parte de la aplicación del endpoint `/execute_code`, que está manipulado para bloquear el acceso externo de forma predeterminada. Sin embargo, los atacantes pueden aprovechar el endpoint `/update_setting`, que carece de control de acceso adecuado, para modificar la configuración del `host` en tiempo de ejecución. Al cambiar la configuración de `host` a un valor controlado por el atacante, se puede eludir la restricción en el endpoint `/execute_code`, lo que lleva a la ejecución remota de código. Esta vulnerabilidad se debe a una neutralización inadecuada de elementos especiales utilizados en un comando del sistema operativo (\"Neutralización inadecuada de elementos especiales utilizados en un comando del sistema operativo\").","source":"nvd"}],"published":"2024-06-06T18:55:40.417Z","modified":"2026-06-17T07:24:23.177Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"parisneo","product":"parisneo/lollms-webui","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"*","status":"affected"}],"vendor":"parisneo","product":"lollms-webui","cpe":"cpe:2.3:a:parisneo:lollms-webui:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","version":"9.3"}],"vendor":"lollms","product":"lollms_web_ui","cpe":"cpe:2.3:a:lollms:lollms_web_ui:9.3:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/62144831-8d4b-4cf2-9737-5e559f7bc67e","tags":["exploit","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2024-06-07T18:30:26.650Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-2359","url":"https://www.cve.org/CVERecord?id=CVE-2024-2359","licence":"CVE Terms of Use","modified":"2024-08-01T19:11:53.481Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-2359","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2359","licence":"Public domain","modified":"2026-06-17T07:24:23.177Z"}],"updatedAt":"2026-11-25T22:58:41.501Z","epss":{"score":0.00997,"percentile":0.63682,"date":"2026-12-01T12:00:22.000Z"}}