CVE-2024-1601CWE-89

SQL Injection in parisneo/lollms-webui

High · published April 16, 2024

CVSS v3.0
7.5
EPSS
40%
Percentile
98.6
In the wild
Unconfirmed
What it is

⚡ Sending a sneaky payload could lead to total data loss! An SQL injection in the `delete_discussion()` function of the parisneo/lollms-webui application lets attackers wipe out all discussions with a single crafted HTTP POST request! 🔥 Think of it like a mischievous guest at a dinner party who sends a special request to the host to remove every dish from the table — in this case, the attacker sends a trick to delete all conversations instead of just one! An attacker exploiting this vulnerability could not only delete entire discussions but also erase vital message data, leaving users with a blank slate. This kind of data destruction could be absolutely devastating for organizations relying on these conversations for communication and documentation!

Put simply

Think of it like a mischievous guest at a dinner party who sends a special request to the host to remove every dish from the table — in this case, the attacker sends a trick to delete all conversations instead of just one! This SQL injection flaw arises from improper handling of user input in the 'id' parameter of the `/delete_discussion` endpoint, enabling attackers to manipulate SQL queries and delete records from the 'discussion' and 'message' tables.

What to do

An attacker exploiting this vulnerability could not only delete entire discussions but also erase vital message data, leaving users with a blank slate. This kind of data destruction could be absolutely devastating for organizations relying on these conversations for communication and documentation! Immediate action is crucial! Update the application to the latest version to patch this vulnerability, sanitize all user inputs in the `delete_discussion()` function, and implement prepared statements to prevent SQL injection attacks. Don't wait until it's too late! You've got this! With these steps, you'll keep your discussions safe and sound! 🛡️

The record
Technical detail
CVSS v3.0
7.5 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.40416 · 98.6th percentile
Weakness
CWE-89 · Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Published
2024-04-16T00:00Z
EPSS history
Timeline
  • 16 APR 00:00Z
    SQL Injection in parisneo/lollms-webui
    cvelistv5