Vulnerability Description
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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Lollms | Lollms-Webui | 9.0 |
Related Weaknesses (CWE)
References
- https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612Patch
- https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5ExploitThird Party Advisory
- https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612Patch
- https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5ExploitThird Party Advisory
FAQ
What is CVE-2024-1601?
CVE-2024-1601 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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...
How severe is CVE-2024-1601?
CVE-2024-1601 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2024-1601?
Check the references section above for vendor advisories and patch information. Affected products include: Lollms Lollms-Webui.