Information disclosure in Directus
CVE-2023-27481
Directus is a real-time API and App dashboard for managing SQL database content. In versions prior to 9.16.0 users with read access to the `password` field in `directus_users` can extract the argon2 password hashes by brute forcing the export functionality combined with a `_starts_with` filter. This allows the user to enumerate the password hashes. Accounts cannot be taken over unless the hashes can be reversed which is unlikely with current hardware. This problem has been patched by preventing any hashed/concealed field to be filtered against with the `_starts_with` or other string operator in version 9.16.0. Users are advised to upgrade. Users unable to upgrade may mitigate this issue by ensuring that no user has `read` access to the `password` field in `directus_users`.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.006, 49.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Directus — versions < 9.16.0
- Monospace Directus
Weakness classification (CWE)
References
- https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf (Vendor Advisory)
- https://github.com/directus/directus/pull/14829 (Patch, Vendor Advisory)
- https://github.com/directus/directus/pull/15010 (Patch, Vendor Advisory)