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. 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:lollms:lollms-webui:9.0:*:*:*:*:*:*:*
cpe:2.3:a:lollms:lollms-webui:9.1:*:*:*:*:*:*:*

History

07 Jul 2025, 15:54

Type Values Removed Values Added
References () https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46 - () https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46 - Patch
References () https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5 - () https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5 - Exploit, Third Party Advisory
First Time Lollms
Lollms lollms-webui
CPE cpe:2.3:a:lollms:lollms-webui:9.1:*:*:*:*:*:*:*
cpe:2.3:a:lollms:lollms-webui:9.0:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 7.5
v2 : unknown
v3 : 9.8

21 Nov 2024, 08:50

Type Values Removed Values Added
References () https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46 - () https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46 -
References () https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5 - () https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5 -

16 Apr 2024, 13:24

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de inyección SQL en la función `delete_discussion()` de la aplicación parisneo/lollms-webui, lo que permite a un atacante eliminar todas las discusiones y datos de mensajes. La vulnerabilidad se puede explotar a través de una solicitud POST HTTP manipulada al endpoint `/delete_discussion`, que llama internamente a la función vulnerable `delete_discussion()`. Al enviar un payload especialmente manipulado en el parámetro 'id', un atacante puede manipular consultas SQL para eliminar todos los registros de las tablas 'discusión' y 'mensaje'. Este problema se debe a una neutralización inadecuada de elementos especiales utilizados en un comando SQL.

16 Apr 2024, 00:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-16 00:15

Updated : 2025-07-07 15:54


NVD link : CVE-2024-1601

Mitre link : CVE-2024-1601

CVE.ORG link : CVE-2024-1601


JSON object : View

Products Affected

lollms

  • lollms-webui
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')