{"id":"CVE-2024-54151","state":"PUBLISHED","title":"Directus allows unauthenticated access to WebSocket events and operations","description":"Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 11.0.0 and prior to version 11.3.0, when setting `WEBSOCKETS_GRAPHQL_AUTH` or `WEBSOCKETS_REST_AUTH` to \"public\", an unauthenticated user is able to do any of the supported operations (CRUD, subscriptions) with full admin privileges. This impacts any Directus instance that has either `WEBSOCKETS_GRAPHQL_AUTH` or `WEBSOCKETS_REST_AUTH` set to `public` allowing unauthenticated users to subscribe for changes on any collection or do REST CRUD operations on user defined collections ignoring permissions. Version 11.3.0 fixes the issue.","publishedAt":"2024-12-09T20:57:28.365Z","updatedAt":"2024-12-10T17:09:06.417Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["directus directus"],"affected":[{"vendor":"directus","product":"directus","versions":[{"version":">= 11.0.0, < 11.3.0","status":"affected"}]}],"references":["https://github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4","https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21"],"weaknesses":["CWE-200"],"ingestedAt":"2026-10-29T20:08:04.920Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/54xxx/CVE-2024-54151.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-54151","state":"PUBLISHED","datePublished":"2024-12-09T20:57:28.365Z","dateUpdated":"2024-12-10T17:09:06.417Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-11-29T18:02:16.756Z"},"containers":{"cna":{"title":"Directus allows unauthenticated access to WebSocket events and operations","descriptions":[{"lang":"en","value":"Directus is a real-time API and App dashboard for managing SQL database content. Starting in version 11.0.0 and prior to version 11.3.0, when setting `WEBSOCKETS_GRAPHQL_AUTH` or `WEBSOCKETS_REST_AUTH` to \"public\", an unauthenticated user is able to do any of the supported operations (CRUD, subscriptions) with full admin privileges. This impacts any Directus instance that has either `WEBSOCKETS_GRAPHQL_AUTH` or `WEBSOCKETS_REST_AUTH` set to `public` allowing unauthenticated users to subscribe for changes on any collection or do REST CRUD operations on user defined collections ignoring permissions. Version 11.3.0 fixes the issue."}],"affected":[{"vendor":"directus","product":"directus","versions":[{"version":">= 11.0.0, < 11.3.0","status":"affected"}]}],"references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4","name":"https://github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21","name":"https://github.com/directus/directus/commit/ce0397d16cf767b5293cd57f626c5349b5732a21","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-200","lang":"en","description":"CWE-200: Exposure of Sensitive Information to an Unauthorized Actor","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-12-09T20:57:28.365Z"},"source":{"advisory":"GHSA-849r-qrwj-8rv4","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/directus/directus/security/advisories/GHSA-849r-qrwj-8rv4","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-10T16:10:28.432315Z","id":"CVE-2024-54151","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-10T17:09:06.417Z"}}]}}}