CVE-2024-2360 Path Traversal leading to Remote Code Execution in parisneo/lollms-webui
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
Description
parisneo/lollms-webui is vulnerable to path traversal attacks that can lead to remote code execution due to insufficient sanitization of user-supplied input in the 'Database path' and 'PDF LaTeX path' settings. An attacker can exploit this vulnerability by manipulating these settings to execute arbitrary code on the targeted server. The issue affects the latest version of the software. The vulnerability stems from the application's handling of the 'discussion_db_name' and 'pdf_latex_path' parameters, which do not properly validate file paths, allowing for directory traversal. This vulnerability can also lead to further file exposure and other attack vectors by manipulating the 'discussion_db_name' parameter.
Upgrade path
3 packages: 1 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| lollms web ui | All versions | No fix listed | No fix yet |
| parisneo lollms-webui | All versions | No fix listed | No fix yet |
| parisneo/lollms-webui | <= latest | after latest | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| parisneo/lollms-webui | <= latest | No fix listed |
| parisneo lollms-webui | All versions | No fix listed |
| lollms web ui | All versions | No fix listed |
References
- huntr.com exploit third-party-advisory