| Advisory ID | github_osv/GHSA-p8v3-m643-4xqx |
| Aliases |
CVE-2024-34708
|
| Summary | 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 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 4.4 |
| Risk | 2.2 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 4.9 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-p8v3-m643-4xqx/GHSA-p8v3-m643-4xqx.json |
| generic_textual | MODERATE |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/directus/directus | ||
| https://github.com/directus/directus/commit/e70a90c267bea695afce6545174c2b77517d617b | ||
| CVE-2024-34708 | https://nvd.nist.gov/vuln/detail/CVE-2024-34708 | |
| GHSA-p8v3-m643-4xqx | https://github.com/directus/directus/security/advisories/GHSA-p8v3-m643-4xqx |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Vector: SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-05-15T15:21:26Z/
Decision: Track
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2024/34xxx/CVE-2024-34708.json
Source Advisory: vulnrichment/CVE-2024-34708
[{'Exploitation': 'none'},
{'Automatable': 'no'},
{'Technical Impact': 'partial'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]