Information disclosure in Directus
CVE-2024-34708
Directus is a real-time API and App dashboard for managing SQL database content. A user with permission to view any collection using redacted hashed fields can get access the raw stored version using the `alias` functionality on the API. Normally, these redacted fields will return `**********` however if we change the request to `?alias[workaround]=redacted` we can instead retrieve the plain text value for the field. This can be avoided by removing permission to view the sensitive fields entirely from users or roles that should not be able to see them. This vulnerability is fixed in 10.11.0.
Vulnerability class: Information Disclosure
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.008, 55.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Directus — versions < 10.11.0
- Monospace Directus
Weakness classification (CWE)
References
- https://github.com/directus/directus/security/advisories/GHSA-p8v3-m643-4xqx (Exploit, Mitigation, Vendor Advisory)
- https://github.com/directus/directus/commit/e70a90c267bea695afce6545174c2b77517d617b (Patch)