CVE-2024-9920

Severity CVSS v4.0:
Pending analysis
Type:
CWE-434 Unrestricted Upload of File with Dangerous Type
Publication date:
20/03/2025
Last modified:
03/04/2025

Description

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:lollms:lollms_web_ui:12:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools