CVE-2024-7806
Apache Open-Webui CSRF Remote Code Execution
Description
A vulnerability in open-webui/open-webui versions <= 0.3.8 allows remote code execution by non-admin users via Cross-Site Request Forgery (CSRF). The application uses cookies with the SameSite attribute set to lax for authentication and lacks CSRF tokens. This allows an attacker to craft a malicious HTML that, when accessed by a victim, can modify the Python code of an existing pipeline and execute arbitrary code with the victim's privileges.
INFO
Published Date :
March 20, 2025, 10:15 a.m.
Last Modified :
March 26, 2025, 4:46 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2024-7806 has a 2 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-7806
.
URL | Resource |
---|---|
https://huntr.com/bounties/9350a68d-5f33-4b3d-988b-81e778160ab8 | Exploit Third Party Advisory |
https://huntr.com/bounties/9350a68d-5f33-4b3d-988b-81e778160ab8 | Exploit Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
RCE exploit for low privileged user via CSRF in open-webui
csrf hack-tool open-webui rce-exploit
Python Shell HTML
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-7806
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-7806
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 26, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:openwebui:open_webui:*:*:*:*:*:*:*:* versions up to (including) 0.3.8 Added Reference Type CISA-ADP: https://huntr.com/bounties/9350a68d-5f33-4b3d-988b-81e778160ab8 Types: Exploit, Third Party Advisory Added Reference Type huntr.dev: https://huntr.com/bounties/9350a68d-5f33-4b3d-988b-81e778160ab8 Types: Exploit, Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Mar. 20, 2025
Action Type Old Value New Value Added Reference https://huntr.com/bounties/9350a68d-5f33-4b3d-988b-81e778160ab8 -
New CVE Received by [email protected]
Mar. 20, 2025
Action Type Old Value New Value Added Description A vulnerability in open-webui/open-webui versions <= 0.3.8 allows remote code execution by non-admin users via Cross-Site Request Forgery (CSRF). The application uses cookies with the SameSite attribute set to lax for authentication and lacks CSRF tokens. This allows an attacker to craft a malicious HTML that, when accessed by a victim, can modify the Python code of an existing pipeline and execute arbitrary code with the victim's privileges. Added CVSS V3 AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H Added CWE CWE-352 Added Reference https://huntr.com/bounties/9350a68d-5f33-4b3d-988b-81e778160ab8
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-7806
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-7806
weaknesses.