SQL Injection in Lollms Lollms-Webui
CVE-2024-1601
An SQL injection vulnerability exists in the `delete_discussion()` function of the parisneo/lollms-webui application, allowing an attacker to delete all discussions and message data. The vulnerability is exploitable via a crafted HTTP POST request to the `/delete_discussion` endpoint, which internally calls the vulnerable `delete_discussion()` function. By sending a specially crafted payload in the 'id' parameter, an attacker can manipulate SQL queries to delete all records from the 'discussion' and 'message' tables. This issue is due to improper neutralization of special elements used in an SQL command.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.404, 98.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Lollms Lollms-Webui — versions 9.0, 9.1
- Parisneo Parisneo/lollms-Webui — versions unspecified
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (didik-snyk/eyeballvul, timothee-chauvin/eyeballvul). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5 (Exploit, Third Party Advisory)
- github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46 (Patch)