Kritische RCE-Lücke in parisneo/lollms-webui durch CVE-2024-2356

⚠️ CVE-Referenzen: CVE-2024-2356

Zusammenfassung

In der Parisneo/lollms-webui-Anwendung wurde eine kritische Local File Inclusion-Schwachstelle (CVE-2024-2356) entdeckt. Durch Manipulation des "name"-Parameters kann ein Angreifer beliebige Python-Dateien aus dem Uploadverzeichnis ausführen und so potentiell Schadcode einschleusen. Das ist besonders heikel, da die Anwendung im Headless-Modus oder auf 0.0.0.0 läuft. Anwender sollten die Sicherheit ihrer Instanz dringend überprüfen und zeitnah Gegenmaßnahmen ergreifen.

Parisneo - Parisneo/lollms-webui - CRITICAL - CVE-2024-2356. A Local File Inclusion (LFI) vulnerability has been identified in the '/reinstall_extension' endpoint of the parisneo/lollms-webui application. This issue arises when a malicious `name` parameter is injected, allowing the server to load and execute arbitrary Python files from the upload directory, potentially leading to Remote Code Execution (RCE). The vulnerability stems from insecurely concatenating `data.name` with `lollmsElfServer.lollms_paths.extensions_zoo_path`, which is then used in the `ExtensionBuilder().build_extension()` call. The flawed handling of Python files, particularly the `__init__.py` file, may facilitate unauthorized code execution, especially when the application runs in headless mode or binds to `0.0.0.0`. Notably, exploitation does not require user interaction, making it crucial for users of this application to assess their security posture.
Quelle: securityvulnerability.io