CVE-2024-4498 Path Traversal and RFI Vulnerability in parisneo/lollms-webui
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
A Path Traversal and Remote File Inclusion (RFI) vulnerability exists in the parisneo/lollms-webui application, affecting versions v9.7 to the latest. The vulnerability arises from insufficient input validation in the /apply_settings function, allowing an attacker to manipulate the discussion_db_name parameter to traverse the file system and include arbitrary files. This issue is compounded by the bypass of input filtering in the install_binding, reinstall_binding, and unInstall_binding endpoints, despite the presence of a sanitize_path_from_endpoint(data.name) filter. Successful exploitation enables an attacker to upload and execute malicious code on the victim's system, leading to Remote Code Execution (RCE).
Upgrade path
3 packages: 1 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| parisneo lollms-webui | >= 9.7 | No fix listed | No fix yet |
| parisneo/lollms-webui | <= latest | after latest | Fixed |
| lollms web ui | = 9.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| parisneo/lollms-webui | <= latest | No fix listed |
| parisneo lollms-webui | >= 9.7 | No fix listed |
| lollms web ui | = 9.7 | No fix listed |
References
- huntr.com exploit issue-tracking patch third-party-advisory