CVE-2024-7053: Session Fixation in open-webui/open-webui
A vulnerability in open-webui/open-webui version 0.3.8 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-7053?
CVE-2024-7053 has a medium severity rating due to the potential for session fixation attacks.
How do I fix CVE-2024-7053?
To fix CVE-2024-7053, update the 'open-webui' software to the latest version and ensure session cookies have the 'Secure' flag and appropriate SameSite attributes.
Who is affected by CVE-2024-7053?
Any user-level account on 'open-webui' version 0.3.8 is affected by CVE-2024-7053.
What type of attack is associated with CVE-2024-7053?
CVE-2024-7053 is associated with session fixation attacks due to improper handling of session cookies.
Can CVE-2024-7053 lead to data compromise?
Yes, CVE-2024-7053 can potentially lead to unauthorized access and data compromise if exploited successfully.