CVE-2024-4897 Remote Code Execution in parisneo/lollms-webui
Attackers can achieve remote code execution by uploading malicious model files via the bindings_zoo feature in lollms-webui.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-4897?
CVE-2024-4897 is a high-severity code injection vulnerability in parisneo/lollms-webui, published on 2 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
parisneo/lollms-webui, in its latest version, is vulnerable to remote code execution due to an insecure dependency on llama-cpp-python version llama_cpp_python-0.2.61+cpuavx2-cp311-cp311-manylinux_2_31_x86_64. The vulnerability arises from the application's 'binding_zoo' feature, which allows attackers to upload and interact with a malicious model file hosted on hugging-face, leading to remote code execution. The issue is linked to a known vulnerability in llama-cpp-python, CVE-2024-34359, which has not been patched in lollms-webui as of commit b454f40a. The vulnerability is exploitable through the application's handling of model files in the 'bindings_zoo' feature, specifically when processing gguf format model files.
Weakness: CWE-76
Which versions are affected by CVE-2024-4897?
It affects 1 product.
Products include Lollms Lollms Web Ui.
How do I fix CVE-2024-4897?
No fix has been published for CVE-2024-4897 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2024-4897 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-4897 exists.
Other vulnerabilities in parisneo/lollms-webui
- CVE-2024-2359 Improper Neutralization of Special Elements used in an OS Command in parisneo/lollms-webui
- CVE-2024-2360 Path Traversal leading to Remote Code Execution in parisneo/lollms-webui
- CVE-2024-4320 Remote Code Execution due to LFI in '/install_extension' in parisneo/lollms-webui
- CVE-2024-2358 Path Traversal leading to Remote Code Execution in parisneo/lollms-webui
- CVE-2024-4326 Remote Code Execution via `/apply_settings` and `/execute_code` in parisneo/lollms-webui
Sources
Also known as GHSA-325v-4jhh-rp36.