Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @directus/api
to version 25.0.0 or higher.
@directus/api is a real-time API and App dashboard for managing SQL database content
Affected versions of this package are vulnerable to Information Exposure via the search
query parameter. An attacker can enumerate unknown field contents by injecting unpermitted fields into the search query, leading to unauthorized access to sensitive data.
Create a collection with a string / numeric field, configure the permissions for the public role to not include the field created
Create items with identifiable content in the not permitted field
Query the collection and include the field content in the search
parameter
See that results are returned, even tho the public user does not have permission to view the field content