| Advisory ID | github_osv/GHSA-pmf4-v838-29hg |
| Aliases |
CVE-2025-24353
|
| Summary | Directus allows privilege escalation using Share feature ### Summary When sharing an item, user can specify an arbitrary role. It allows user to use a higher-privileged role to see fields that otherwise the user should not be able to see. ### Details Specifying `role` on share should be available only for admins. The current flow has a security flaw. Each other role should allow to share only in the context of the same role. As there is no role hierarchy in Directus, it is impossible to tell which role is _higher_ or _lower_, so only admins should be able to specify the role for share. Optionally, instead of specifying a role, shareer* should be able to specify which fields (limited to fields shareer sees) are available on shared item. Similarily to import. *_shareer_ - a person that creates a share link to item ### PoC 1. Create a collection with a secret field. 2. Create role A that sees the secret field 3. Create role B that does not see the secret field, but can use share feature. 4. Create item with secret field filled. 5. Use account with role B to share the object as role A and gain unauthorized access to secret value. Here's video example: https://www.youtube.com/watch?v=DbV4IxbWzN4 I had to upload it to YouTube, because GitHub allows only 10MB videos. ### Impact Impacted are instances that use the share feature and have specific roles hierarchy and fields that are not visible for certain roles. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 4.5 |
| Risk | 2.2 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| CWE-269 | Improper Privilege Management |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 5.0 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-pmf4-v838-29hg/GHSA-pmf4-v838-29hg.json |
| generic_textual | MODERATE |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/directus/directus | ||
| 23716 | Other | https://github.com/directus/directus/pull/23716 |
| CVE-2025-24353 | https://nvd.nist.gov/vuln/detail/CVE-2025-24353 | |
| e288a43a79613dada905da683f4919c6965ac804 | Other | https://github.com/directus/directus/commit/e288a43a79613dada905da683f4919c6965ac804 |
| GHSA-pmf4-v838-29hg | Other | https://github.com/directus/directus/security/advisories/GHSA-pmf4-v838-29hg |
| v11.2.0 | Other | https://github.com/directus/directus/releases/tag/v11.2.0 |
| watch?v=DbV4IxbWzN4 | Other | https://www.youtube.com/watch?v=DbV4IxbWzN4 |
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:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-01-23T18:52:42Z/
Decision: Track
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2025/24xxx/CVE-2025-24353.json
Source Advisory: vulnrichment/CVE-2025-24353
[{'Exploitation': 'poc'},
{'Automatable': 'no'},
{'Technical Impact': 'partial'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]