AVID-2026-R1640
Description
Unrestricted File Upload and Execution in parisneo/lollms-webui (CVE-2024-9920)
Details
In version v12 of parisneo/lollms-webui, the ‘Send file to AL’ function allows uploading files with various extensions, including potentially dangerous ones like .py, .sh, .bat, and more. Attackers can exploit this by uploading files with malicious content and then using the ‘/open_file’ API endpoint to execute these files. The vulnerability arises from the use of ‘subprocess.Popen’ to open files without proper validation, leading to potential remote code execution.
Reason for inclusion in AVID: CVE-2024-9920 describes an unrestricted file upload vulnerability in parisneo/lollms-webui that enables remote code execution via the /open_file endpoint using subprocess.Popen. The affected artifact is a web UI component used to deploy/run AI models, making it an AI-related software component in the general-purpose AI stack. It constitutes a security vulnerability with a concrete exploitation path. The report provides explicit details (v12, dangerous extensions, /open_file, subprocess.Popen), giving sufficient signal for AVID evaluation.
References
Affected or Relevant Artifacts
- Developer: parisneo
- Deployer: parisneo
- Artifact Details:
| Type | Name |
|---|---|
| System | parisneo/lollms-webui |
Impact
AVID Taxonomy Categorization
- Risk domains: Security
- SEP subcategories: S0100: Software Vulnerability
- Lifecycle stages: L06: Deployment
CVSS
| Version | 3.0 |
| Vector String | CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Base Score | 6.6 |
| Base Severity | 🟠 Medium |
| Attack Vector | PHYSICAL |
| Attack Complexity | 🟢 Low |
| Privileges Required | 🟢 Low |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | 🔴 High |
| Integrity Impact | 🔴 High |
| Availability Impact | 🔴 High |
CWE
| ID | Description |
|---|---|
| CWE-434 | CWE-434 Unrestricted Upload of File with Dangerous Type |
Other information
- Report Type: Advisory
- Credits:
- Date Reported: 2025-03-20
- Version: 0.3.3
- AVID Entry