CVE-2024-9920

Unrestricted File Upload and Execution in parisneo/lollms-webui

State
Published
Severity
6.6 Medium
Published
Mar 20, 2025
Updated
Mar 20, 2025
Reserved
Oct 13, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.06.6 MediumCVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H@huntr_ai

Weaknesses

  • CWE-434 Unrestricted Upload of File with Dangerous Type

Affected Products

ProductVersions
parisneo/lollms-webuiparisneo
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.