PT-2025-12183 · Unknown · Open-Webui
Published
2025-03-20
·
Updated
2025-04-07
·
CVE-2024-7053
CVSS v3.1
9.0
Critical
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
open-webui/open-webui version 0.3.8
Description
A vulnerability allows an attacker with a user-level account to perform a session fixation attack. The session cookie for all users is set with the default
SameSite=Lax and does not have the Secure flag enabled, allowing the session cookie to be sent over HTTP to a cross-origin domain. An attacker can exploit this by embedding a malicious markdown image in a chat, which, when viewed by an administrator, sends the admin's session cookie to the attacker's server. This can lead to a stealthy administrator account takeover, potentially resulting in remote code execution (RCE) due to the elevated privileges of administrator accounts.Recommendations
For open-webui/open-webui version 0.3.8, consider updating the session cookie settings to include the
Secure flag and set SameSite to a more restrictive value, such as Strict, to prevent session fixation attacks. As a temporary workaround, restrict access to administrator accounts and avoid viewing potentially malicious content from untrusted sources.Exploit
Fix
RCE
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Open-Webui