CVE-2024-34708
mediumpriority · track · 20EPSS 0.008 · 55 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-p8v3-m643-4xqxDirectus allows redacted data extraction on the API through "alias"2024-05-13ghsa · osvUS
## Summary 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. ## Steps to reproduce - Set up a simple role with read-access to users. - Create a new user with the role from the previous step - Assign a password to the user The easiest way to confirm this vulnerability is by first visiting `/users/me`. You should be presented with a redacted JSON-object. Next, visit `/users/me?alias[hash]=password`. This time, the returned JSON object will included the raw password hash instead of the redacted value. ## Workaround 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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-34708/cnnvd
- https://github.com/directus/directus/commit/e70a90c267bea695afce6545174c2b77517d617bcnnvd
- https://github.com/directus/directus/security/advisories/GHSA-p8v3-m643-4xqxcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2024-34708cnnvd
- https://github.com/directus/directus/commit/e70a90c267bea695afce6545174c2b77517d617benisa_euvd
- https://github.com/directus/directus/security/advisories/GHSA-p8v3-m643-4xqxenisa_euvd
- https://github.com/directus/directus/commit/e70a90c267bea695afce6545174c2b77517d617bPatchnvd
- https://github.com/directus/directus/security/advisories/GHSA-p8v3-m643-4xqxExploitMitigationVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan