Extract password hashes through export querying in directus
Published Mar 7, 2023
6.5
MEDIUMCVSS 3.1
EPSS 0.60%
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`.
Affected products
-
- Version < 9.16.0StatusaffectedConstraints-
- Version
No data.
No Red Hat product state for this CVE.
directus
npm
Introduced 0 Fixed 9.16.0
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | directus | 0 | 9.16.0 |
Remediation
No remediation recorded yet.
References (6)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-1055 Advisory
- https://github.com/advisories/GHSA-m5q3-8wgf-x8xf Advisory
- https://github.com/directus/directus/pull/14829 x_refsource_MISCPatchVendor Advisory
- https://github.com/directus/directus/pull/15010 x_refsource_MISCPatchVendor Advisory
- https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf x_refsource_CONFIRMVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2023-27481
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2023-1055 | Advisory | |
| https://github.com/advisories/GHSA-m5q3-8wgf-x8xf | Advisory | |
| https://github.com/directus/directus/pull/14829 | x_refsource_MISCPatchVendor Advisory | |
| https://github.com/directus/directus/pull/15010 | x_refsource_MISCPatchVendor Advisory | |
| https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf | x_refsource_CONFIRMVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-27481 |
Change history (0)
No recorded changes yet.