← Back to CVEs
CVE-2024-1601
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published4/16/2024
Last Modified7/7/2025
Sourcenvd
Honeypot Sightings0
Affected Products
lollms:lollms-webui
Weaknesses (CWE)
CWE-89
References
https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46(security@huntr.dev)
https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5(security@huntr.dev)
https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46(af854a3a-2127-422b-91ae-364da2661108)
https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.