CVE-2024-3126

Command Injection in parisneo/lollms-webui

State
Published
Severity
8.4 High
Published
May 16, 2024
Updated
Aug 1, 2024
Reserved
Apr 1, 2024

Read the record on cve.org

Description

A command injection vulnerability exists in the 'run_xtts_api_server' function of the parisneo/lollms-webui application, specifically within the 'lollms_xtts.py' script. The vulnerability arises due to the improper neutralization of special elements used in an OS command. The affected function utilizes 'subprocess.Popen' to execute a command constructed with a Python f-string, without adequately sanitizing the 'xtts_base_url' input. This flaw allows attackers to execute arbitrary commands remotely by manipulating the 'xtts_base_url' parameter. The vulnerability affects versions up to and including the latest version before 9.5. Successful exploitation could lead to arbitrary remote code execution (RCE) on the system where the application is deployed.

Scores

CVSSScoreVectorSource
3.08.4 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H@huntr_ai

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

Affected Products

ProductVersions
parisneo/lollms-webuiparisneo
  • before 9.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.