8.8
CWE
434
Advisory Published
Updated

CVE-2024-9920: Unrestricted File Upload and Execution in parisneo/lollms-webui

First published: Thu Mar 20 2025(Updated: )

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.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
parisneo lollms
Lollms=12

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-9920?

    CVE-2024-9920 is categorized as a high severity vulnerability due to its potential for code execution through file uploads.

  • How do I fix CVE-2024-9920?

    To mitigate CVE-2024-9920, restrict file upload capabilities to only safe file types and implement robust validation mechanisms.

  • What software versions are affected by CVE-2024-9920?

    CVE-2024-9920 affects version v12 of parisneo/lollms-webui.

  • How can an attacker exploit CVE-2024-9920?

    An attacker can exploit CVE-2024-9920 by uploading malicious files through the 'Send file to AL' function.

  • What types of files can be uploaded that are vulnerable in CVE-2024-9920?

    CVE-2024-9920 is vulnerable to uploading various dangerous file types, including .py, .sh, and .bat.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203