Browse / AI Framework and Platform Flaws / CVE-2024-7035
Open WebUI Vulnerable to Cross-Site Request Forgery (CSRF)
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Cross-site request forgery
- Affected
- open-webui (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:N/I:H/A:L
- EPSS
- 8.7% chance of exploitation in 30 days
How it works, in short
Destructive reset and delete actions run on GET requests, so a malicious page or top-level link can trigger them in a logged-in user's browser. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-7035
- https://github.com/open-webui/open-webui
- https://huntr.com/bounties/2ac81740-410b-467a-9244-75d82a6f9e11
Source: GitHub Advisory Database, used under CC BY 4.0.