Skip to content
CSRF Disclosed report Beginner CVE-2024-7035

Open WebUI Vulnerable to Cross-Site Request Forgery (CSRF)

Sensitive actions such as deleting and resetting were performed using the GET method, allowing an attacker to trigger them via CSRF when a user visits a malicious site or follows a top-level navigation. This could affect the availability and integrity of the application.

open-webui

Originally disclosed on huntr

In version v0.3.8 of open-webui/open-webui, sensitive actions such as deleting and resetting are performed using the GET method. This vulnerability allows an attacker to perform Cross-Site Request Forgery (CSRF) attacks, where an unaware user can unintentionally perform sensitive actions by simply visiting a malicious site or through top-level navigation. The affected endpoints include /rag/api/v1/reset, /rag/api/v1/reset/db, /api/v1/memories/reset, and /rag/api/v1/reset/uploads. This impacts both the availability and integrity of the application.

From the GitHub Advisory Database (GHSA-p5vx-9hj8-cf4h, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

An attacker could cause an unaware user to unintentionally perform sensitive actions, impacting availability and integrity.

What the attacker needed

Victim is logged in; victim visits a malicious site or link

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Some actions that change or delete data were triggered by simply loading a web address (a GET request). An attacker could trick a logged-in user into loading such an address, for example by visiting a malicious site, and the action would happen without the user intending it. This is called cross-site request forgery (CSRF).

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More from open-webui

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.