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 Uninitialized Memory Exposure via the webhook trigger flows. An attacker can access sensitive data, including environmental variables, API keys, and user details, by triggering a flow with a failed condition.
Create a Flow in Directus with Trigger: Webhook
and Response Body: Data of Last Operation
;
Add a condition that is likely to fail;
Trigger the Flow with any input data that will fail the condition;
Observe the API response, which includes sensitive information.