CVE-2024-34708 Directus allows redacted data extraction on the API through "alias"
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| monospace directus | < 10.11.0 | 10.11.0 | Fixed |
| npm directus(npm) | < 10.11.0 | 10.11.0 | Fixed |
| directus | = < 10.11.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm directus(npm) | < 10.11.0 | 10.11.0 |
| directus | = < 10.11.0 | No fix listed |
| monospace directus | < 10.11.0 | 10.11.0 |
References
- https://github.com/directus/directus/security/advisories/GHSA-p8v3-m643-4xqx exploit mitigation vendor-advisory
- https://github.com/directus/directus/commit/e70a90c267bea695afce6545174c2b77517d617b patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product