Skip to content
HighVulnerabilityLLM-specific

CVE-2024-1522: lollms-webui CSRF enabling code execution via /execute_code endpoint

Identifier
CVE-2024-1522
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A Cross-Site Request Forgery (CSRF) flaw in parisneo/lollms-webui lets remote attackers run arbitrary code on a victim's system. The `/execute_code` API endpoint does not properly validate requests, so a malicious webpage can submit a form to the victim's local lollms-webui instance and execute arbitrary OS commands. The attacker gains full control of the victim's system without direct network access to the application.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.