Arbitrary command execution via unsanitized XTTS URL
Published May 16, 2024 · Updated Aug 1, 2024
OS command injection in ParisNeo LoLLMs WebUI before 9.5 allows attackers to execute arbitrary commands through xtts_base_url. The run_xtts_api_server function in lollms_xtts.py interpolates that input into a Python f-string and passes the resulting command to subprocess.Popen without neutralizing shell metacharacters. Reachability requires access to the application function and control of xtts_base_url; injected commands run with the server process's privileges.
Summary
What happened
OS command injection in ParisNeo LoLLMs WebUI before 9.5 allows attackers to execute arbitrary commands through xtts_base_url. The run_xtts_api_server function in lollms_xtts.py interpolates that input into a Python f-string and passes the resulting command to subprocess.Popen without neutralizing shell metacharacters. Reachability requires access to the application function and control of xtts_base_url; injected commands run with the server process's privileges.
The record
- CVE
- CVE-2024-3126
- Published
- May 16, 2024
- Updated
- Aug 1, 2024
- Vendor
- ParisNeo
- Product
- LoLLMs WebUI
- Classifications
- CWE-78, T1059
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 16, 2024CVE publishedPublication date reported by the CVE source.
- Aug 1, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <9.5
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo