Description
An issue was discovered in Vaultwarden (formerly Bitwarden_RS) 1.30.3. It lacks an offboarding process for members who leave an organization. As a result, the shared organization key is not rotated when a member departs. Consequently, the departing member, whose access should be revoked, retains a copy of the organization key. Additionally, the application fails to adequately protect some encrypted data stored on the server. Consequently, an authenticated user could gain unauthorized access to encrypted data of any organization, even if the user is not a member of the targeted organization. However, the user would need to know the corresponding organizationId. Hence, if a user (whose access to an organization has been revoked) already possesses the organization key, that user could use the key to decrypt the leaked data.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | vaultwarden | 1.32.0-r0 | — |
| Alpine v3.23 | vaultwarden | 1.32.0-r0 | — |
| Alpine v3.22 | vaultwarden | 1.32.0-r0 | — |
| Alpine v3.21 | vaultwarden | 1.32.0-r0 | — |
| Alpine v3.20 | vaultwarden | 1.32.0 | — |
Advisories 1
- WID-SEC-2024-2147 Vaultwarden: Mehrere Schwachstellen ermöglichen BSI CERT-Bund (WID) · Sep 15, 2024