Skip to content
CriticalVulnerabilityLLM-specific

CVE-2024-2356: parisneo/lollms-webui local file inclusion in /reinstall_extension endpoint

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

Summary

CVE-2024-2356 is a Local File Inclusion flaw in the `/reinstall_extension` endpoint of parisneo/lollms-webui, reached through the `name` parameter of the `@router.post("/reinstall_extension")` route. An attacker who injects a malicious `name` makes the server load and execute arbitrary Python files, including `__init__.py` files in arbitrary locations via `importlib.machinery.SourceFileLoader`, which can lead to Remote Code Execution when the application is exposed externally or bound to `0.0.0.0` or in `headless mode`. The source says the latest version is affected and no user interaction is required.

Mitigation

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