CVE-2023-38503
JavaScript vulnerability analysis and mitigation

Overview

CVE-2023-38503 affects Directus, a real-time API and App dashboard for managing SQL database content. The vulnerability was discovered in versions 10.3.0 through 10.5.0, where permission filters (such as user_created IS $CURRENT_USER) were not properly checked when using GraphQL subscriptions. This security issue was disclosed on July 25, 2023, and has been patched in version 10.5.0 (Vendor Advisory).

Technical details

The vulnerability is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) with a CVSS v3.1 base score of 6.5 MEDIUM (NIST) and 5.7 MEDIUM (GitHub). The issue occurs when using GraphQL subscriptions, where unauthorized users could receive events they shouldn't have access to based on their permission filters. This particularly affects collections with permission filters using $CURRENTUSER, including the built-in directususers collection (Vendor Advisory, NVD).

Impact

The vulnerability allows unauthorized users to receive updates and access data they shouldn't have permission to view. For example, users could get updates for other users' changes in the directus_users collection, bypassing intended permission restrictions (Vendor Advisory).

Mitigation and workarounds

The vulnerability has been patched in Directus version 10.5.0. For users unable to update immediately, the recommended workaround is to disable GraphQL subscriptions entirely (Vendor Advisory, GitHub PR).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management