Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-m5q3-8wgf-x8xf: Directus vulnerable to extraction of password hashes through export querying

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:

ghsa
#vulnerability#nodejs#git
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2023-27481

Directus vulnerable to extraction of password hashes through export querying

Moderate severity GitHub Reviewed Published Mar 7, 2023 in directus/directus • Updated Mar 8, 2023

Package

npm directus (npm)

Affected versions

< 9.16.0

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:

References

  • GHSA-m5q3-8wgf-x8xf
  • https://nvd.nist.gov/vuln/detail/CVE-2023-27481
  • directus/directus#14829
  • directus/directus#15010

Published by the National Vulnerability Database

Mar 7, 2023

Published to the GitHub Advisory Database

Mar 8, 2023

Related news

CVE-2023-27481: Only allow null filter operators for fields with "conceal" special by licitdev · Pull Request #15010 · directus/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 `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`.

ghsa: Latest News

GHSA-hqmp-g7ph-x543: TunnelVision - decloaking VPNs using DHCP