Home

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.

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




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

Problem types

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

Product status

Any version before 9.5
affected

References

huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12

github.com/...ommit/41dbb1b3f2e78ea276e5269544e50514252c0c25

huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12

github.com/...ommit/41dbb1b3f2e78ea276e5269544e50514252c0c25

cve.org (CVE-2024-3126)

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

Download JSON