CVE-2024-2360: parisneo lollms-webui - Command Injection
- Cve: CVE-2024-2360
- Name: parisneo lollms-webui - Command Injection
- 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.
- Impact: Attackers can execute arbitrary code, access sensitive files, and potentially compromise the server.
- Remediation: Update to the latest version of the software, ensuring proper validation and sanitization of file path inputs.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01869
- Epss percentile: 0.79881
- Assignee: [email protected]
- Published at: 2024-06-06T19:15:54Z
- Age in days: 901
- Modified at: 2026-06-17T07:24:23Z
- Public exploits total: 1
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-2360
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-29 | Path Traversal: '\..\filename' |
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://huntr.com/bounties/65d0ef59-a761-4bbd-86fa-dd8e8621082e | nvd | 2024-06-06 |
References
| Url | Source | Tags |
|---|---|---|
| https://huntr.com/bounties/65d0ef59-a761-4bbd-86fa-dd8e8621082e | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| lollms:lollms_web_ui | all versions | no | nvd | /v1/products/lollms/lollms_web_ui |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-06-06
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts