CVE-2024-1522 Cross-Site Request Forgery (CSRF) Leading to Remote Code Execution in parisneo/lollms-webui

High 8.8 Published Updated

Attackers can execute arbitrary code on victim systems via CSRF in lollms-webui by tricking users into visiting a malicious webpage.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-1522?

CVE-2024-1522 is a high-severity vulnerability in parisneo/lollms-webui, published on 30 Mar 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A Cross-Site Request Forgery (CSRF) vulnerability in the parisneo/lollms-webui project allows remote attackers to execute arbitrary code on a victim's system. The vulnerability stems from the `/execute_code` API endpoint, which does not properly validate requests, enabling an attacker to craft a malicious webpage that, when visited by a victim, submits a form to the victim's local lollms-webui instance to execute arbitrary OS commands. This issue allows attackers to take full control of the victim's system without requiring direct network access to the vulnerable application.

Weakness: CWE-352

Which versions are affected by CVE-2024-1522?

It affects 1 product.

Products include Lollms Lollms Web Ui.

How do I fix CVE-2024-1522?

No fix has been published for CVE-2024-1522 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-1522 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-1522 exists.

Sources

Also known as GHSA-4qp4-9mwx-276r.

Is CVE-2024-1522 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free