CVE-2023-38503
Directus GraphQL Subscription Permissions Bypass
Description
Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 10.3.0 and prior to version 10.5.0, the permission filters (i.e. `user_created IS $CURRENT_USER`) are not properly checked when using GraphQL subscription resulting in unauthorized users getting event on their subscription which they should not be receiving according to the permissions. This can be any collection but out-of-the box the `directus_users` collection is configured with such a permissions filter allowing you to get updates for other users when changes happen. Version 10.5.0 contains a patch. As a workaround, disable GraphQL subscriptions.
INFO
Published Date :
July 25, 2023, 11:15 p.m.
Last Modified :
Aug. 3, 2023, 3:33 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-38503
.
URL | Resource |
---|---|
https://github.com/directus/directus/pull/19155 | Patch |
https://github.com/directus/directus/security/advisories/GHSA-gggm-66rh-pp98 | Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-38503
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-38503
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Aug. 03, 2023
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Changed Reference Type https://github.com/directus/directus/pull/19155 No Types Assigned https://github.com/directus/directus/pull/19155 Patch Changed Reference Type https://github.com/directus/directus/security/advisories/GHSA-gggm-66rh-pp98 No Types Assigned https://github.com/directus/directus/security/advisories/GHSA-gggm-66rh-pp98 Vendor Advisory Added CWE NIST CWE-863 Added CPE Configuration OR *cpe:2.3:a:monospace:directus:*:*:*:*:*:node.js:*:* versions from (including) 10.3.0 up to (excluding) 10.5.0
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-38503
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-38503
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.06 }} 0.01%
score
0.28176
percentile