Extract password hashes through export querying in directus
cve-program · CVE-2023-27481
PublishedDirectus 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`.
Read the publisher's advisoryeuvd · EUVD-2023-1055
PublishedDirectus 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`.
Read the publisher's advisorynvd · CVE-2023-27481
PublishedDirectus 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`.
Read the publisher's advisoryosv · GHSA-m5q3-8wgf-x8xf
Published### Impact 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. ### Patches The problem has been patched by preventing any hashed/concealed field to be filtered against with the `_starts_with` or other string operator. ### Workarounds Ensuring that no user has `read` access to the `password` field in `directus_users` is sufficient to prevent this vulnerability. ### For more information If you have any questions or comments about this advisory: * Open a Discussion in [directus/directus](https://github.com/directus/directus/discussions/new) * Email us at [[email protected]](mailto:[email protected])
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2023-27481 · CVE overview and exploitation status
cve-program · CVE-2023-27481
- https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf
- https://github.com/directus/directus/pull/14829
- https://github.com/directus/directus/pull/15010
euvd · EUVD-2023-1055
- https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf
- https://github.com/directus/directus/pull/14829
- https://github.com/directus/directus/pull/15010
nvd · CVE-2023-27481
- https://github.com/directus/directus/pull/14829
- https://github.com/directus/directus/pull/15010
- https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf
osv · GHSA-m5q3-8wgf-x8xf
Related changes
Linked by CVE identifierNo related changes are available here.