{"id":"CVE-2024-1601","published":"2024-04-16T00:00:14Z","modified":"2024-08-01T18:48:21Z","title":"SQL Injection in parisneo/lollms-webui","vendor":"parisneo","product":"parisneo/lollms-webui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.40416,"percentile":0.98678,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://huntr.com/bounties/652a176e-6bd7-4161-8775-63a34ecc71d5","tags":[]},{"url":"https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46","tags":[]}],"priority":{"score":25.0,"factors":[{"name":"EPSS percentile","points":19.74},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"parisneo","affectedVersions":[{"vendor":"parisneo","product":"parisneo/lollms-webui","versions":[">= unspecified, < 9.2"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-07-03T17:42:22.617498Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"An SQL injection flaw exists in the delete_discussion() function of parisneo/lollms-webui, the lollms-webui application's component that removes conversations. An attacker can send a crafted HTTP POST request to the /delete_discussion endpoint with a malicious value in the 'id' parameter, requiring only network access and no authentication or user interaction, to manipulate SQL queries and delete all records from the discussion and message tables.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T07:24:51Z"},"euvd":{"id":"EUVD-2024-17342","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-parisneo-lollms-webui-cve-2024-1522","children":[{"from":"CVE-2024-1601","to":"CVE-2024-1646","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app.py","endpoints/lollms_discussion.py","events/lollms_chatbox_events.py"],"commits":["https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46","https://github.com/parisneo/lollms-webui/commit/02e829b5653a1aa5dbbe9413ec84f96caa1274e8"],"basis":"rarely changed file"}]},{"from":"CVE-2024-1601","to":"CVE-2024-1873","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["app.py","endpoints/lollms_discussion.py","events/lollms_chatbox_events.py"],"commits":["https://github.com/parisneo/lollms-webui/commit/f0bc8f2babdfd4770a5adbf3b60ec612e4f1db46","https://github.com/parisneo/lollms-webui/commit/02e829b5653a1aa5dbbe9413ec84f96caa1274e8"],"basis":"rarely changed file"}]}]}}