CVE-2023-27481 Extract password hashes through export querying in directus
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| monospace directus | < 9.16.0 | 9.16.0 | Fixed |
| npm directus(npm) | < 9.16.0 | 9.16.0 | Fixed |
| directus | = < 9.16.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm directus(npm) | < 9.16.0 | 9.16.0 |
| directus | = < 9.16.0 | No fix listed |
| monospace directus | < 9.16.0 | 9.16.0 |
References
- https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/directus/directus/pull/14829 patch vendor-advisory
- https://github.com/directus/directus/pull/15010 patch vendor-advisory
- github.com
- github.com product