CVE-2024-1601: SQL Injection in parisneo/lollms-webui
An SQL injection vulnerability exists in the deletediscussion() 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 /deletediscussion endpoint, which internally calls the vulnerable deletediscussion() 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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-1601?
CVE-2024-1601 is classified as a critical severity vulnerability due to its potential to allow complete deletion of discussions and message data.
How do I fix CVE-2024-1601?
To fix CVE-2024-1601, ensure that input sanitization and validation are implemented in the delete_discussion() function to prevent SQL injection.
What type of attack can exploit CVE-2024-1601?
An attacker can exploit CVE-2024-1601 by sending a specially crafted HTTP POST request to the /delete_discussion endpoint.
Which application is impacted by CVE-2024-1601?
CVE-2024-1601 affects the parisneo/lollms-webui application.
What happens if CVE-2024-1601 is successfully exploited?
If CVE-2024-1601 is successfully exploited, an attacker can delete all discussions and message data from the application.