Skip to content
OpenAdvisories
Medium · 4.3 CVE-2023-27481 EUVD-2023-1055GHSA-m5q3-8wgf-x8xf

Extract password hashes through export querying in directus

Published Mar 7, 2023 · Updated Feb 25, 2025 · Assigned by GitHub_M

Description

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`.

Affected products

VendorProductAffectedFixed
directus directus < 9.16.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm directus < 9.16.0 9.16.0 GHSA-m5q3-8wgf-x8xf

References