What’s Vulnerable › Vulnerabilities

CVE-2024-34708: Directus allows redacted data extraction on the API through "alias"

Description

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.

Affected products

How to fix

Upgrade to a fixed version: directus 10.11.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-34708 or the next vulnerability affects your stack