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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 40.4%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.
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 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 40.42% probability · 99th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-89
- Affected
- lollms/lollms-webui
- Source
- security@huntr.dev
References
- https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46Patch
- https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5Exploit, Third Party Advisory
- https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46Patch
- https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.