Vulnerability Details : CVE-2023-27481
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`.
Vulnerability category: Information leak
Products affected by CVE-2023-27481
- cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-27481
0.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 44 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-27481
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
2.8
|
1.4
|
NIST | |
4.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
2.8
|
1.4
|
GitHub, Inc. |
CWE ids for CVE-2023-27481
-
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-27481
-
https://github.com/directus/directus/pull/14829
Check for allowed filter operators when applying filter by licitdev · Pull Request #14829 · directus/directus · GitHubPatch;Vendor Advisory
-
https://github.com/directus/directus/security/advisories/GHSA-m5q3-8wgf-x8xf
Extract password hashes through export querying · Advisory · directus/directus · GitHubVendor Advisory
-
https://github.com/directus/directus/pull/15010
Only allow null filter operators for fields with "conceal" special by licitdev · Pull Request #15010 · directus/directus · GitHubPatch;Vendor Advisory
Jump to