CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Lollms

CVE-2024-1601
Lollms-webui vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Lollms-webui. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Lollms-webui runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Lollms products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.