CVE-2023-27481: Extract password hashes through export querying in directus
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 directususers can extract the argon2 password hashes by brute forcing the export functionality combined with a startswith 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 startswith 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 directususers.
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is CVE-2023-27481?
CVE-2023-27481 is a vulnerability in Directus, a real-time API and App dashboard for managing SQL database content, that allows users with read access to the `password` field in `directus_users` to extract the argon2 password hashes.
Who is affected by CVE-2023-27481?
Users of Directus versions prior to 9.16.0 are affected by CVE-2023-27481.
How can the argon2 password hashes be extracted in CVE-2023-27481?
The argon2 password hashes can be extracted by brute-forcing the export functionality combined with a `_starts_with` filter.
What is the severity of CVE-2023-27481?
CVE-2023-27481 has a severity rating of medium, with a CVSS score of 4.3.
How can I mitigate CVE-2023-27481?
To mitigate CVE-2023-27481, it is recommended to update to Directus version 9.16.0 or later.