GHSA-q75c-4gmv-mg9x
Directus: Open Redirect in Admin 2FA Setup Page
Quick fix
GHSA-q75c-4gmv-mg9x — directus: upgrade to the fixed version with the command below.
npm install directus@11.16.1Details
### Summary
Directus is vulnerable to an Open Redirect via the redirect query parameter on the `/admin/tfa-setup` page. When an administrator who has not yet configured Two-Factor Authentication (2FA) visits a crafted URL, they are presented with the legitimate Directus 2FA setup page. After completing the setup process, the application redirects the user to the attacker-controlled URL specified in the `redirect` parameter without any validation.
This vulnerability could be used in phishing attacks targeting Directus administrators, as the initial interaction occurs on a trusted domain.
### Credits Discovered by Neo by ProjectDiscovery (https://neo.projectdiscovery.io/)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:npm/directus"]}'