Skip to content

CVE-2024-4326 Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui

CriticalCVSS 9.8 EPSS 0.97%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

Description

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
lollms web ui < 9.5 9.5 Fixed
parisneo lollms-webui < 9.5 9.5 Fixed
parisneo/lollms-webui < 9.5 9.5 Fixed

Affected products

ProductAffected versionsFixed in
parisneo/lollms-webui < 9.5 9.5
parisneo lollms-webui < 9.5 9.5
lollms web ui < 9.5 9.5

References