CVE-2024-56335: Privilege escalation allows organization groups to be updated/deleted if their UUID is known in vaultwarden
vaultwarden is an unofficial Bitwarden compatible server written in Rust, formerly known as bitwardenrs. In affected versions an attacker is capable of updating or deleting groups from an organization given a few conditions: 1. The attacker has a user account in the server. 2. The attacker's account has admin or owner permissions in an unrelated organization. 3. The attacker knows the target organization's UUID and the target group's UUID. Note that this vulnerability is related to group functionality and as such is only applicable for servers who have enabled the ORGGROUPSENABLED setting, which is disabled by default. This attack can lead to different situations: 1. Denial of service, the attacker can limit users from accessing the organization's data by removing their membership from the group. 2. Privilege escalation, if the attacker is part of the victim organization, they can escalate their own privileges by joining a group they wouldn't normally have access to. For attackers that aren't part of the organization, this shouldn't lead to any possible plain-text data exfiltration as all the data is encrypted client side. This vulnerability is patched in Vaultwarden 1.32.7, and users are recommended to update as soon as possible. If it's not possible to update to 1.32.7, some possible workarounds are: 1. Disabling ORGGROUPSENABLED, which would disable groups functionality on the server. 2. Disabling SIGNUPSALLOWED, which would not allow an attacker to create new accounts on the server.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2024-56335?
CVE-2024-56335 is categorized as a high severity vulnerability due to its potential impact on organization data integrity.
How do I fix CVE-2024-56335?
To fix CVE-2024-56335, upgrade Vaultwarden to version 1.32.8 or later, which contains the security patch.
What are the conditions for exploiting CVE-2024-56335?
An attacker can exploit CVE-2024-56335 if they have a user account on the server and specific permissions are met.
Which versions of Vaultwarden are affected by CVE-2024-56335?
Versions of Vaultwarden prior to 1.32.8 are affected by CVE-2024-56335.
Is there a public advisory for CVE-2024-56335?
Yes, a public advisory detailing CVE-2024-56335 is available on the Vaultwarden GitHub security page.