CVE-2024-4326
parisneo parisneo/lollms-webui — Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui
Description · from the CVE record
A vulnerability in parisneo/lollms-webui versions up to 9.3 allows remote attackers to execute arbitrary code. The vulnerability stems from insufficient protection of the `/apply_settings` and `/execute_code` endpoints. Attackers can bypass protections by setting the host to localhost, enabling code execution, and disabling code validation through the `/apply_settings` endpoint. Subsequently, arbitrary commands can be executed remotely via the `/execute_code` endpoint, exploiting the delay in settings enforcement. This issue was addressed in version 9.5.
Affected
ProductAffectedFixed inSource
parisneo/lollms-webuiunspecified – < 9.59.5CNA
lollms-webui< 9.59.5CISA-ADP
Scores by source
@huntr_ai (CNA)9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total