CVE-2024-4326
Assigner: @huntr_ai
Published: 2024-05-16T09:03:47.208Z
State: PUBLISHED
title: Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui
descriptions: value: 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: vendor: parisneo
product: parisneo/lollms-webui
versions: version: unspecified
lessThan: 9.5
status: affected
versionType: custom
metrics: cvssV3_0: version: 3.0
attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: HIGH
confidentialityImpact: HIGH
integrityImpact: HIGH
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
baseScore: 9.8
baseSeverity: CRITICAL
problemTypes: descriptions: type: CWE
description: CWE-15 External Control of System or Configuration Setting
cweId: CWE-15
source: advisory: 2ab9f03d-0538-4317-be21-0748a079cbdd
discovery: EXTERNAL