We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-4326

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



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.

Reserved 2024-04-29 | Published 2024-05-16 | Updated 2024-08-01 | Assigner @huntr_ai


CRITICAL: 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-15 External Control of System or Configuration Setting

Product status

Any version before 9.5
affected

References

huntr.com/bounties/2ab9f03d-0538-4317-be21-0748a079cbdd

github.com/...ommit/abb4c6d495a95a3ef5b114ffc57f85cd650b905e

cve.org (CVE-2024-4326)

nvd.nist.gov (CVE-2024-4326)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-4326

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.