Advisory

GHSA-m5q3-8wgf-x8xf

Also known as: CVE-2023-27481

Summary

Directus vulnerable to extraction of password hashes through export querying

Details

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:

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-03-08 17:13 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

directus

npm · All systems

Affected

  • introduced 0, fixed 9.16.0 (semver)

Fixed versions

9.16.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences