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.
References (2)
Core 2
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5
Scores
CVSS v3
9.8
EPSS
0.0548
EPSS Percentile
90.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-89
Status
published
Products (2)
lollms/lollms-webui
9.0
lollms/lollms-webui
9.1
Published
Apr 16, 2024
Tracked Since
Feb 18, 2026