1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-10-23 01:44:51 +02:00
vaultwarden/src/db/models
Mathijs van Veluw b557c11724
Fix data disclosure on organization endpoints (#4837)
- All users were able to request organizational details from any org,
  even if they were not a member (anymore).
  Now it will check if that user is a member of the org or not.
- The `/organization/<uuid>/keys` endpoint returned also the private keys.
  This should not be the case. Also, according to the upstream server
  code the endpoint changed, but the clients do not seem to use it.
  I added it anyway just in case they will in the future.
- Also require a valid login before being able to retreve those org
  keys. Upstream does not do this, but i see no reason why not.

Fixes: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-39925
2024-08-11 19:39:56 +02:00
..
attachment.rs Change API and structs to camelCase (#4386) 2024-06-23 21:31:02 +02:00
auth_request.rs Update chrono and sqlite (#4436) 2024-03-19 19:47:30 +01:00
cipher.rs Update crates, web-vault and fixes (#4823) 2024-08-07 22:46:03 +02:00
collection.rs add group support for Cipher::get_collections() (#4592) 2024-07-04 20:28:19 +02:00
device.rs Update chrono and sqlite (#4436) 2024-03-19 19:47:30 +01:00
emergency_access.rs Some fixes for emergency access (#4715) 2024-07-08 23:39:22 +02:00
event.rs Update chrono and sqlite (#4436) 2024-03-19 19:47:30 +01:00
favorite.rs Update to diesel2 2022-10-23 00:49:23 +02:00
folder.rs Change API and structs to camelCase (#4386) 2024-06-23 21:31:02 +02:00
group.rs Change API and structs to camelCase (#4386) 2024-06-23 21:31:02 +02:00
mod.rs Add support for MFA with Duo's Universal Prompt (#4637) 2024-07-24 16:50:35 +02:00
org_policy.rs Change API and structs to camelCase (#4386) 2024-06-23 21:31:02 +02:00
organization.rs Fix data disclosure on organization endpoints (#4837) 2024-08-11 19:39:56 +02:00
send.rs Change API and structs to camelCase (#4386) 2024-06-23 21:31:02 +02:00
two_factor.rs Change API and structs to camelCase (#4386) 2024-06-23 21:31:02 +02:00
two_factor_duo_context.rs Add support for MFA with Duo's Universal Prompt (#4637) 2024-07-24 16:50:35 +02:00
two_factor_incomplete.rs Update to diesel2 2022-10-23 00:49:23 +02:00
user.rs Change API and structs to camelCase (#4386) 2024-06-23 21:31:02 +02:00