CVE-2024-3126
Apache Lollms Webui Command Injection Vulnerability
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.
INFO
Published Date :
May 16, 2024, 9:15 a.m.
Last Modified :
July 9, 2025, 2:36 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
2.5
Affected Products
The following products are affected by CVE-2024-3126
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-3126
.
URL | Resource |
---|---|
https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25 | Patch |
https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12 | Exploit Third Party Advisory Issue Tracking Patch |
https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25 | Patch |
https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12 | Exploit Third Party Advisory Issue Tracking Patch |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-3126
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-3126
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Jul. 09, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:* versions up to (excluding) 9.5 Added Reference Type CVE: https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25 Types: Patch Added Reference Type huntr.dev: https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25 Types: Patch Added Reference Type CVE: https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12 Types: Exploit, Issue Tracking, Patch, Third Party Advisory Added Reference Type huntr.dev: https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12 Types: Exploit, Issue Tracking, Patch, Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25 Added Reference https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12 -
CVE Received by [email protected]
May. 16, 2024
Action Type Old Value New Value Added 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. Added Reference huntr.dev https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12 [No types assigned] Added Reference huntr.dev https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25 [No types assigned] Added CWE huntr.dev CWE-78 Added CVSS V3 huntr.dev AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-3126
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-3126
weaknesses.