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.
References
Link | 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 |
Configurations
History
09 Jul 2025, 14:36
Type | Values Removed | Values Added |
---|---|---|
References | () https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25 - Patch | |
References | () https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12 - Exploit, Third Party Advisory, Issue Tracking, Patch | |
CPE | cpe:2.3:a:lollms:lollms_web_ui:*:*:*:*:*:*:*:* | |
First Time |
Lollms lollms Web Ui
Lollms |
Information
Published : 2024-05-16 09:15
Updated : 2025-07-09 14:36
NVD link : CVE-2024-3126
Mitre link : CVE-2024-3126
CVE.ORG link : CVE-2024-3126
JSON object : View
Products Affected
lollms
- lollms_web_ui
CWE
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')