Skip to content
HighVulnerability

CVE-2024-9920: lollms-webui remote code execution through file upload and open_file endpoint

Identifier
CVE-2024-9920
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2024-9920 affects version v12 of parisneo/lollms-webui, where the 'Send file to AL' function accepts uploads with extensions such as .py, .sh and .bat. An attacker can upload a file with malicious content and then run it through the '/open_file' API endpoint, which calls 'subprocess.Popen' on files without proper validation. The flaw leads to potential remote code execution.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.