CVE-2024-9920

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.
References
Link Resource
https://huntr.com/bounties/c70c6732-23b3-4ef8-aec6-0a47467d1ed5 Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:lollms:lollms_web_ui:12:*:*:*:*:*:*:*

History

03 Apr 2025, 18:02

Type Values Removed Values Added
Summary
  • (es) En la versión v12 de parisneo/lollms-webui, la función "Enviar archivo a AL" permite subir archivos con diversas extensiones, incluyendo algunas potencialmente peligrosas como .py, .sh, .bat y otras. Los atacantes pueden explotar esto subiendo archivos con contenido malicioso y utilizando el endpoint de la API "/open_file" para ejecutarlos. La vulnerabilidad surge del uso de "subprocess.Popen" para abrir archivos sin la validación adecuada, lo que puede provocar la ejecución remota de código.
CPE cpe:2.3:a:lollms:lollms_web_ui:12:*:*:*:*:*:*:*
References () https://huntr.com/bounties/c70c6732-23b3-4ef8-aec6-0a47467d1ed5 - () https://huntr.com/bounties/c70c6732-23b3-4ef8-aec6-0a47467d1ed5 - Exploit, Third Party Advisory
CVSS v2 : unknown
v3 : 6.6
v2 : unknown
v3 : 8.8
First Time Lollms
Lollms lollms Web Ui

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-04-03 18:02


NVD link : CVE-2024-9920

Mitre link : CVE-2024-9920

CVE.ORG link : CVE-2024-9920


JSON object : View

Products Affected

lollms

  • lollms_web_ui
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type