CVE-2024-34708
published 2024-05-14CVE-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…
PriorityP427medium4.9CVSS 3.1
AVNACLPRHUINSUCHINAN
EPSS
0.76%
50.5th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| directus | directus | < 10.11.0 | 10.11.0 |
| directus | directus | >= 0 < 10.11.0 | 10.11.0 |
| monospace | directus | < 10.11.0 | 10.11.0 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Directus allows redacted data extraction on the API through "alias"
ghsa·2024-05-13
CVE-2024-34708 [MEDIUM] CWE-200 Directus allows redacted data extraction on the API through "alias"
Directus allows redacted data extraction on the API through "alias"
## 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 wi
OSV
Directus allows redacted data extraction on the API through "alias"
osv·2024-05-13
CVE-2024-34708 [MEDIUM] Directus allows redacted data extraction on the API through "alias"
Directus allows redacted data extraction on the API through "alias"
## 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 wi
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/directus/directus/commit/e70a90c267bea695afce6545174c2b77517d617bhttps://github.com/directus/directus/security/advisories/GHSA-p8v3-m643-4xqxhttps://github.com/directus/directus/commit/e70a90c267bea695afce6545174c2b77517d617bhttps://github.com/directus/directus/security/advisories/GHSA-p8v3-m643-4xqx
2024-05-14
Published