vaultwarden/src
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
..
api Fix data disclosure on organization endpoints (#4837) 2024-08-11 19:39:56 +02:00
db Fix data disclosure on organization endpoints (#4837) 2024-08-11 19:39:56 +02:00
static Update admin interface (#4737) 2024-07-12 22:59:48 +02:00
auth.rs Fix for RSA Keys which are read only (#4744) 2024-07-17 12:59:22 +02:00
config.rs Allow to increase the note size to 100_000 (#4772) 2024-07-24 21:49:01 +02:00
crypto.rs Remove get_random_64() 2022-11-13 10:03:06 +01:00
error.rs Improved HTTP client (#4740) 2024-07-12 22:33:11 +02:00
http_client.rs Improved HTTP client (#4740) 2024-07-12 22:33:11 +02:00
mail.rs Add Protected Actions Check (#4067) 2023-11-12 22:15:44 +01:00
main.rs Add support for MFA with Duo's Universal Prompt (#4637) 2024-07-24 16:50:35 +02:00
ratelimit.rs Basic ratelimit for user login (including 2FA) and admin login 2021-12-22 21:48:49 +01:00
util.rs Remove lowercase conversion for featureStates (#4820) 2024-08-07 21:55:58 +02:00