SecurityContext

CVE-2024-3126: parisneo/lollms-webui - Command Injection

  • Cve: CVE-2024-3126
  • Name: parisneo/lollms-webui - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary commands remotely, potentially leading to full remote code execution on the affected system.
  • Remediation: Update to the latest version after 9.5 or apply proper input sanitization to 'xtts_base_url'.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.4
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01321
  • Epss percentile: 0.7161
  • Assignee: [email protected]
  • Published at: 2024-05-16T09:15:13Z
  • Age in days: 922
  • Modified at: 2026-06-17T07:43:21Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-3126
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12nvd2024-05-16

References

UrlSourceTags
https://github.com/parisneo/lollms-webui/commit/41dbb1b3f2e78ea276e5269544e50514252c0c25nvdPatch
https://huntr.com/bounties/0e2bec70-826e-4c24-8015-31921e23fd12nvdExploit, Issue Tracking, Patch, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
lollms:lollms_web_ui< 9.5nonvd/v1/products/lollms/lollms_web_ui

Projects

RepositoryLink kindsIndexedUrl
ParisNeo/lollms-webuicommityes/v1/repositories/ParisNeo/lollms-webui

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-05-16
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts