Skip to content
OpenAdvisories
Medium · 4.9 CVE-2024-34708 EUVD-2024-1709GHSA-p8v3-m643-4xqx

Directus allows redacted data extraction on the API through "alias"

Published May 13, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
directus directus < 10.11.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm directus < 10.11.0 10.11.0 GHSA-p8v3-m643-4xqx

References